[glsdk/meta-ti-glsdk.git] / recipes-bsp / u-boot / u-boot-am37x-2012.04.01 / 0002-am335x-am3517evm-beagleboard-am37x-Add-CONFIG_CMD_AS.patch
1 From 883551659d9b15dfb1ed7ad8ae4b34bfd1fa0fd9 Mon Sep 17 00:00:00 2001
2 From: Tom Rini <trini@ti.com>
3 Date: Wed, 16 Nov 2011 14:50:49 -0700
4 Subject: [PATCH 2/4] am335x/am3517evm/beagleboard/am37x: Add CONFIG_CMD_ASKENV
6 This is TI Sitara SDK specific (unified user experience, askenv command).
8 Upstream-Status: Pending
9 * This will be submitted upstream by Tom Rini
11 Signed-off-by: Tom Rini <trini@ti.com>
12 ---
13 include/configs/am335x_evm.h | 2 ++
14 include/configs/am3517_evm.h | 2 ++
15 include/configs/omap3_beagle.h | 2 ++
16 include/configs/omap3_evm.h | 2 ++
17 4 files changed, 8 insertions(+), 0 deletions(-)
19 diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
20 index d0fbc88..5cd7d6d 100644
21 --- a/include/configs/am335x_evm.h
22 +++ b/include/configs/am335x_evm.h
23 @@ -26,6 +26,8 @@
24 #include <asm/arch/cpu.h>
25 #include <asm/arch/hardware.h>
27 +#define CONFIG_CMD_ASKENV
28 +
29 #define CONFIG_ENV_SIZE 0x400
30 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (8 * 1024))
31 #define CONFIG_SYS_PROMPT "U-Boot# "
32 diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
33 index b5f75d1..2b3fce7 100644
34 --- a/include/configs/am3517_evm.h
35 +++ b/include/configs/am3517_evm.h
36 @@ -137,6 +137,8 @@
37 /* commands to include */
38 #include <config_cmd_default.h>
40 +#define CONFIG_CMD_ASKENV
41 +
42 #define CONFIG_CMD_EXT2 /* EXT2 Support */
43 #define CONFIG_CMD_FAT /* FAT support */
44 #define CONFIG_CMD_JFFS2 /* JFFS2 Support */
45 diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
46 index ba73aa6..b270598 100644
47 --- a/include/configs/omap3_beagle.h
48 +++ b/include/configs/omap3_beagle.h
49 @@ -146,6 +146,8 @@
50 /* commands to include */
51 #include <config_cmd_default.h>
53 +#define CONFIG_CMD_ASKENV
54 +
55 #define CONFIG_CMD_CACHE
56 #define CONFIG_CMD_EXT2 /* EXT2 Support */
57 #define CONFIG_CMD_FAT /* FAT support */
58 diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
59 index 1fcb7af..215d67d 100644
60 --- a/include/configs/omap3_evm.h
61 +++ b/include/configs/omap3_evm.h
62 @@ -42,6 +42,8 @@
63 */
64 #include <config_cmd_default.h>
66 +#define CONFIG_CMD_ASKENV
67 +
68 #define CONFIG_CMD_EXT2
69 #define CONFIG_CMD_FAT
70 #define CONFIG_CMD_JFFS2
71 --
72 1.7.0.4