summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorOctav Zlatior <octav.zlatior@theobroma-systems.com>2015-07-10 18:32:00 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-03-09 01:40:02 +0100
commit90016ef2335570b551c589a2021c761c5a56b126 (patch)
treeab2ae833ac444217fee01311472bfeb4f66b6d35 /board
parent1bb43df080dcc0878202568bdb1c2520dc2a66c0 (diff)
ARM: sun6i: spiflash: enables M25 SPI flash
Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
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"