]> git.sur5r.net Git - u-boot/commitdiff
k2g: configs: Add support to save env in MMC
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 9 Mar 2016 10:09:37 +0000 (15:39 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 01:30:18 +0000 (21:30 -0400)
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>
include/configs/k2g_evm.h

index ba084c146f83733feec078529e49199d378d41cb..2c70df1f435b7e004383295475d4c60cf1aa49e5 100644 (file)
 #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