Re: [U-Boot] [PATCH] mmc: add eraseenv command

started to include erase in the global scope...hope i'm right.
https://github.com/frank-w/u-boot/commits/eraseenv_new
where is the env-command (i need to add erase too) defined? i found no cmd/env*.[ch]...
regards Frank
Gesendet: Sonntag, 07. April 2019 um 17:58 Uhr Von: "Stefano Babic" sbabic@denx.de IMHO the U_BOOT_ENV_LOCATION should be extended to add a new function pointer, and the generic command calls it.

Am 07.04.2019 um 19:32 schrieb Frank Wunderlich:
started to include erase in the global scope...hope i'm right.
Yes, that looks like the correct approach.
where is the env-command (i need to add erase too) defined? i found no cmd/env*.[ch]...
It's in cmd/nvedit.c, see function 'do_env'.
Regards, Simon
regards Frank
Gesendet: Sonntag, 07. April 2019 um 17:58 Uhr Von: "Stefano Babic" sbabic@denx.de IMHO the U_BOOT_ENV_LOCATION should be extended to add a new function pointer, and the generic command calls it.
participants (2)
-
Frank Wunderlich
-
Simon Goldschmidt