loadenv.patch (revision 3986) adds the commands "loadenv" and "defaultenv", which replace the current in-memory environment with the one in NAND or the one hard-coded into u-boot, respectively
This will be useful for repairing the environment when booting the GTA02 from NOR (in which case it always uses the default environment, to avoid contamination). Note: I'm not sure if upstream will like this patch, since it meddles a bit with internals. So it's on probation for now. ----------------------------------- Changes ----------------------------------- loadenv.patch: - common/cmd_nvedit.c (do_loadenv): load the environment from persistent storage (without updating settings derived from the environment) - common/cmd_nvedit.c (do_defaultenv): reset the environment to default settings - include/configs/neo1973_gta02.h: added CONFIG_CMD_LOADENV and CONFIG_CMD_DEFAULTENV
