1# SPDX-License-Identifier: GPL-2.0-only 2 3menu "Platform Selection" 4 5config AW_BSP 6 bool "Allwinner Platform" 7 select ARCH_SUNXI 8 select ARCH_HAS_RESET_CONTROLLER 9 select GENERIC_IRQ_CHIP 10 select PINCTRL 11 select RESET_CONTROLLER 12 help 13 This enables support for Allwinner sunxi based SoCs like the A64. 14 15choice 16 prompt "Select SoC Family" 17 default ARCH_SUN8I if ARM 18 default ARCH_SUN50I if ARM64 19 default ARCH_SUN20I if RISCV 20 depends on AW_BSP 21 help 22 Select the Family for SoC 23 24config ARCH_SUN8I 25 bool "Allwinner SUN8I" 26 depends on AW_BSP && ARM 27 help 28 Allwinner SUN8I SoC Family 29 30config ARCH_SUN50I 31 bool "Allwinner SUN50I" 32 depends on AW_BSP 33 #select xxx if ARM 34 #select xxx64 if ARM64 35 help 36 Allwinner SUN50I SoC Family 37 38config ARCH_SUN55I 39 bool "Allwinner SUN55I" 40 depends on AW_BSP && ARM64 41 help 42 Allwinner SUN55I SoC Family 43 44config ARCH_SUN20I 45 bool "Allwinner SUN20I" 46 depends on AW_BSP && RISCV 47 help 48 Allwinner SUN20I SoC Family 49 50endchoice 51 52choice 53 prompt "Select the Wafer" 54 default ARCH_SUN50IW10 55 depends on AW_BSP 56 help 57 Select the wafer 58 59config ARCH_SUN50IW9 60 bool "SUN50IW9" 61 depends on ARCH_SUN50I 62 help 63 Support for Allwinner SUN50IW9 SoC 64 65config ARCH_SUN50IW10 66 bool "SUN50IW10" 67 depends on ARCH_SUN50I 68 help 69 Support for Allwinner SUN50IW10 SoC 70 71config ARCH_SUN50IW12 72 bool "SUN50IW12" 73 depends on ARCH_SUN50I 74 help 75 Support for Allwinner SUN50IW12 SoC 76 77endchoice 78 79#choice 80# prompt "Select the SoC" 81# help 82# Select the SoC 83# 84#config ARCH_SUN50IW10P1 85# depends on ARCH_SUN50IW10 86# bool "Allwinner SUN50IW10P1" 87# select SUNXI_SMC # SUNXI_SMC is not used in FPGA stage 88#endchoice 89 90choice 91 prompt "Select the Board" 92 depends on AW_BSP 93 default AW_FPGA_S4 94 95config AW_FPGA_S4 96 bool "FPGA S4 Board" 97 help 98 Support for Allwinner FPGA S4 board 99 100config AW_FPGA_V7 101 bool "FPGA V7 Board" 102 help 103 Support for Allwinner FPGA V7 board 104 105config AW_IC_BOARD 106 bool "IC Board" 107 help 108 Support for Allwinner IC board 109endchoice 110 111config AW_SOC_NAME 112 string "SoC Name" 113 default "" 114 depends on AW_BSP 115 help 116 Used by sysfs: /sys/.../sysinfo 117 118endmenu 119