summaryrefslogtreecommitdiff
path: root/include/configs/omap5_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-04-05 06:21:45 +0000
committerTom Rini <trini@ti.com>2013-04-08 11:40:56 -0400
commit9552ee3ea96e650eb8aecd9ff8cce7dd6db7bb5f (patch)
tree1c2505bb2bde4282e51ed001f7831da62ac1c07d /include/configs/omap5_common.h
parentc3d2c24f6cebd115cdc577e13520045a30ca5dc6 (diff)
downloadu-boot-imx-9552ee3ea96e650eb8aecd9ff8cce7dd6db7bb5f.zip
u-boot-imx-9552ee3ea96e650eb8aecd9ff8cce7dd6db7bb5f.tar.gz
u-boot-imx-9552ee3ea96e650eb8aecd9ff8cce7dd6db7bb5f.tar.bz2
omap5_uevm.h: Move uEVM-specific choices to omap5_uevm.h
The omap5_uevm platform has eMMC, and it makes sense to say that our default env storage shall reside there. Other platforms may not, so move this choice to the EVM config. In addition, we should provide some way to partition the flash for later usage, so take advantage of the GPT partition table support code and allow that to be setup with some reasonable defaults. Cc: Sricharan R <r.sricharan@ti.com> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/omap5_common.h')
-rw-r--r--include/configs/omap5_common.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/configs/omap5_common.h b/include/configs/omap5_common.h
index da0ead9..f5e575a 100644
--- a/include/configs/omap5_common.h
+++ b/include/configs/omap5_common.h
@@ -94,19 +94,12 @@
#define CONFIG_DRIVER_OMAP34XX_I2C
#define CONFIG_I2C_MULTI_BUS
-
/* MMC */
#define CONFIG_GENERIC_MMC
#define CONFIG_MMC
#define CONFIG_OMAP_HSMMC
#define CONFIG_DOS_PARTITION
-/* MMC ENV related defines */
-#define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */
-#define CONFIG_ENV_OFFSET 0xE0000
-#define CONFIG_CMD_SAVEENV
-
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
/* Flash */
@@ -124,7 +117,6 @@
#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_I2C /* I2C serial bus support */
#define CONFIG_CMD_MMC /* MMC support */
-#define CONFIG_CMD_SAVEENV
/* Disabled commands */
#undef CONFIG_CMD_NET
@@ -144,6 +136,10 @@
#define CONFIG_ENV_OVERWRITE
+#ifndef PARTS_DEFAULT
+#define PARTS_DEFAULT
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x82000000\0" \
"console=ttyO2,115200n8\0" \
@@ -154,6 +150,7 @@
"bootfile=zImage\0" \
"usbtty=cdc_acm\0" \
"vram=16M\0" \
+ "partitions=" PARTS_DEFAULT "\0" \
"mmcdev=0\0" \
"mmcroot=/dev/mmcblk0p2 rw\0" \
"mmcrootfstype=ext3 rootwait\0" \