diff options
author | Klaus Goger <klaus.goger@theobroma-systems.com> | 2015-07-15 08:43:22 +0200 |
---|---|---|
committer | Klaus Goger <klaus.goger@theobroma-systems.com> | 2015-07-30 18:44:07 +0200 |
commit | 07d1e5a4e6767847ad5fc88446e895cf4a9700a3 (patch) | |
tree | beec198b63dea67014ea0694aad1f62aab70f469 | |
parent | bad054ea483969d6a9f445883e80f9499e49df7d (diff) |
ARM: sunxi: introduce SUNXI_PANGOLIN Kconfig option
we need to do board specific things that we can't select only based on
the CPU flavor. So we introduce the Kconfig option to select a specfic
sunxi board
Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
-rw-r--r-- | board/sunxi/Kconfig | 9 | ||||
-rw-r--r-- | configs/Pangolin_defconfig | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index e155c4c713..1b147b2c68 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -15,7 +15,6 @@ config SUNXI_GEN_SUN6I separate ahb reset control registers, custom pmic bus, new style watchdog, etc. - choice prompt "Sunxi SoC Variant" optional @@ -80,6 +79,14 @@ config MACH_SUN8I bool default y if MACH_SUN8I_A23 || MACH_SUN8I_A33 +choice + prompt "Sunxi Board Variant" + optional + +config SUNXI_PANGOLIN + bool "Theobroma A31 uQ7 Board" + +endchoice config DRAM_CLK int "sunxi dram clock speed" diff --git a/configs/Pangolin_defconfig b/configs/Pangolin_defconfig index 2ee39f264b..4ef237e156 100644 --- a/configs/Pangolin_defconfig +++ b/configs/Pangolin_defconfig @@ -1,3 +1,4 @@ +CONFIG_SUNXI_PANGOLIN=y CONFIG_SPL=y CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC,RGMII" CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-pangolin" |