]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: omap4_panda: enable saveenv command
authormaxin.john@enea.com <maxin.john@enea.com>
Wed, 18 Mar 2015 09:51:47 +0000 (10:51 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:20 +0000 (14:34 +0200)
Enable saveenv command and the configs to store environment
persistently in the SD card.

Tested on OMAP4 Panda (OMAP4460 ES1.1)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
include/configs/omap4_panda.h

index 7378acdb210214d1cfbc0d99ecf962ece2ba3a82..e97c5e30da5367668e1f2a1ce0701c25137a49cf 100644 (file)
 #define CONFIG_CMD_GPIO
 
 /* ENV related config options */
-#define CONFIG_ENV_IS_NOWHERE
 
 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
+#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_CMD_SAVEENV
+#define CONFIG_ENV_OVERWRITE
 
 #endif /* __CONFIG_PANDA_H */