summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2016-09-18 12:33:55 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2016-09-18 20:22:03 +0200
commit019fac62d480990262b700a05717194a9623af7b (patch)
tree0ef47c1c63aa9765882e5bbaf6a0c2c0473a04a2 /board
parente0f531f111108a121845547b249cce14b7418cd9 (diff)
ARM: sunxi: introduce SUNXI_ARMADILLO 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
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 7136fb237f..ccb2228c3e 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -103,6 +103,31 @@ config DRAM_TYPE
---help---
Set the dram type, 3: DDR3, 7: LPDDR3
+choice
+ prompt "Sunxi Board Variant"
+ optional
+
+config SUNXI_ARMADILLO
+ bool "Theobroma A80 Q7 Board"
+ select DM_SPI
+ select DM_SPI_FLASH
+ select CMD_SF
+
+endchoice
+
+choice
+ prompt "U-Boot environment location"
+ depends on SUNXI_ARMADILLO
+ default SUNXI_ENV_MMC
+
+config SUNXI_ENV_MMC
+ bool "MMC/SD-Card"
+
+config SUNXI_ENV_SPI
+ bool "SPI"
+
+endchoice
+
config DRAM_CLK
int "sunxi dram clock speed"
default 792 if MACH_SUN9I