From 90016ef2335570b551c589a2021c761c5a56b126 Mon Sep 17 00:00:00 2001 From: Octav Zlatior Date: Fri, 10 Jul 2015 18:32:00 +0200 Subject: ARM: sun6i: spiflash: enables M25 SPI flash Signed-off-by: Octav Zlatior --- board/sunxi/Kconfig | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) (limited to 'board') 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" -- cgit v1.2.3