From 07d1e5a4e6767847ad5fc88446e895cf4a9700a3 Mon Sep 17 00:00:00 2001 From: Klaus Goger Date: Wed, 15 Jul 2015 08:43:22 +0200 Subject: 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 --- board/sunxi/Kconfig | 9 ++++++++- configs/Pangolin_defconfig | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3