summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/Kconfig34
1 files changed, 25 insertions, 9 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 5712dde822..a62f3e1113 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -163,6 +163,31 @@ config DRAM_TYPE
---help---
Set the dram type, 3: DDR3, 7: LPDDR3
+choice
+ prompt "Sunxi Board Variant"
+ optional
+
+config SUNXI_PANGOLIN
+ bool "Theobroma A31 uQ7 Board"
+ select DM_SPI
+ select DM_SPI_FLASH
+ select CMD_SF
+
+endchoice
+
+choice
+ prompt "U-Boot environment location"
+ depends on SUNXI_PANGOLIN
+ 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
@@ -293,15 +318,6 @@ config SYS_CONFIG_NAME
default "sun9i" if MACH_SUN9I
default "sun50i" if MACH_SUN50I
-choice
- prompt "Sunxi Board Variant"
- optional
-
-config SUNXI_PANGOLIN
- bool "Theobroma A31 uQ7 Board"
-
-endchoice
-
config SYS_BOARD
default "sunxi"