Commit 3b6e4841225c60aa1bd0212754ba0edc1822393d
Committed by
Tom Rini
1 parent
aa63387a39
Exists in
v2017.01-smarct4x
and in
37 other branches
ARM: omap4_panda: enable saveenv command
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>
Showing 1 changed file with 6 additions and 1 deletions Side-by-side Diff
include/configs/omap4_panda.h
... | ... | @@ -43,9 +43,14 @@ |
43 | 43 | #define CONFIG_CMD_GPIO |
44 | 44 | |
45 | 45 | /* ENV related config options */ |
46 | -#define CONFIG_ENV_IS_NOWHERE | |
47 | 46 | |
48 | 47 | #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG |
48 | +#define CONFIG_ENV_IS_IN_FAT | |
49 | +#define FAT_ENV_INTERFACE "mmc" | |
50 | +#define FAT_ENV_DEVICE_AND_PART "0:1" | |
51 | +#define FAT_ENV_FILE "uboot.env" | |
52 | +#define CONFIG_CMD_SAVEENV | |
53 | +#define CONFIG_ENV_OVERWRITE | |
49 | 54 | |
50 | 55 | #endif /* __CONFIG_PANDA_H */ |