[PATCH] vexpress: Enable some additional config options

Ian Campbell ijc at hellion.org.uk
Sun Nov 17 16:10:06 CET 2013


Primarily CONFIG_API, which is useful for running grub on top of u-boot.
CONFIG_API requires SYS_MMC_MAX_DEVICE to be set.

Also enable CMD_EXT2 and CMD_ECHO.

Signed-off-by: Ian Campbell <ijc at hellion.org.uk>
Cc: albert.u.boot at aribaud.net
---
v2: Dropped addition of vexpress qemu variant. Using Uboot for vexpress_ca9x4
    on qemu-system-arm -M vexpress-a9 is sufficient, so there is no need for a
    special variant of the ca14 uboot.
---
 include/configs/vexpress_common.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h
index 7e78f8a..d39eb5b 100644
--- a/include/configs/vexpress_common.h
+++ b/include/configs/vexpress_common.h
@@ -157,6 +157,7 @@
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_PXE
 #define CONFIG_MENU
+#define CONFIG_CMD_ECHO
 #define CONFIG_CMD_ELF
 #define CONFIG_CMD_ENV
 #define CONFIG_CMD_FLASH
@@ -164,6 +165,7 @@
 #define CONFIG_CMD_MEMORY
 #define CONFIG_CMD_NET
 #define CONFIG_CMD_PING
+#define CONFIG_CMD_EXT2
 #define CONFIG_CMD_SAVEENV
 #define CONFIG_CMD_RUN
 #define CONFIG_CMD_BOOTZ
@@ -176,6 +178,7 @@
 #define CONFIG_GENERIC_MMC
 #define CONFIG_ARM_PL180_MMCI
 #define CONFIG_ARM_PL180_MMCI_BASE	V2M_MMCI
+#define CONFIG_SYS_MMC_MAX_DEVICE	1
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT	127
 #define CONFIG_ARM_PL180_MMCI_CLOCK_FREQ 6250000
 
@@ -253,6 +256,7 @@
 #define CONFIG_SYS_FLASH_BASE0		V2M_NOR0
 #define CONFIG_SYS_FLASH_BASE1		V2M_NOR1
 #define CONFIG_SYS_MONITOR_BASE		CONFIG_SYS_FLASH_BASE0
+#define CONFIG_API
 
 /* Timeout values in ticks */
 #define CONFIG_SYS_FLASH_ERASE_TOUT	(2 * CONFIG_SYS_HZ) /* Erase Timeout */
-- 
1.8.4.rc3





More information about the U-Boot mailing list