summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-03-09 15:39:37 +0530
committerTom Rini <trini@konsulko.com>2016-03-15 21:30:18 -0400
commit84fe28382c707786394218821568abc2645b6c0e (patch)
treea5e5d9f013fe13df0595522b7d36092ecaeecf49 /include
parent0552d1d8dc7c519fb45e1c44e22b558788ff4cfa (diff)
downloadtalos-obmc-uboot-84fe28382c707786394218821568abc2645b6c0e.tar.gz
talos-obmc-uboot-84fe28382c707786394218821568abc2645b6c0e.zip
k2g: configs: Add support to save env in MMC
Adding support to save env in MMC on k2g platforms, as it is the preferred peripheral in saving env. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/k2g_evm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index ba084c146f..2c70df1f43 100644
--- a/include/configs/k2g_evm.h
+++ b/include/configs/k2g_evm.h
@@ -61,6 +61,12 @@
#define CONFIG_OMAP_HSMMC
#define CONFIG_CMD_MMC
+#undef CONFIG_ENV_IS_IN_NAND
+#define CONFIG_ENV_IS_IN_FAT
+#define FAT_ENV_INTERFACE "mmc"
+#define FAT_ENV_DEVICE_AND_PART "0:1"
+#define FAT_ENV_FILE "uboot.env"
+
#define CONFIG_SF_DEFAULT_BUS 1
#define CONFIG_SF_DEFAULT_CS 0
OpenPOWER on IntegriCloud