Convert CONFIG_ENV_IS_IN_MMC/NAND/UBI and NOWHERE to Kconfig
[platform/kernel/u-boot.git] / arch / arm / mach-imx / mx7 / Kconfig
1 if ARCH_MX7
2
3 config MX7
4         bool
5         select ROM_UNIFIED_SECTIONS
6         select CPU_V7_HAS_VIRT
7         select CPU_V7_HAS_NONSEC
8         select ARCH_SUPPORT_PSCI
9         imply CMD_FUSE
10         default y
11
12 config MX7D
13         select ROM_UNIFIED_SECTIONS
14         imply CMD_FUSE
15         bool
16         imply ENV_IS_IN_MMC
17
18 choice
19         prompt "MX7 board select"
20         optional
21
22 config TARGET_MX7DSABRESD
23         bool "mx7dsabresd"
24         select BOARD_LATE_INIT
25         select MX7D
26         select DM
27         select DM_THERMAL
28
29 config TARGET_PICO_IMX7D
30         bool "pico-imx7d"
31         select BOARD_LATE_INIT
32         select MX7D
33         select DM
34         select DM_THERMAL
35
36 config TARGET_WARP7
37         bool "warp7"
38         select BOARD_LATE_INIT
39         select MX7D
40         select DM
41         select DM_THERMAL
42
43 config TARGET_COLIBRI_IMX7
44         bool "Support Colibri iMX7S/iMX7D modules"
45         select BOARD_LATE_INIT
46         select DM
47         select DM_SERIAL
48         select DM_THERMAL
49
50 endchoice
51
52 config SYS_SOC
53         default "mx7"
54
55 source "board/freescale/mx7dsabresd/Kconfig"
56 source "board/technexion/pico-imx7d/Kconfig"
57 source "board/toradex/colibri_imx7/Kconfig"
58 source "board/warp7/Kconfig"
59
60 endif