Am 07.04.2019 um 19:32 schrieb Frank Wunderlich:
started to include erase in the global scope...hope i'm right.
https://github.com/frank-w/u-boot/commits/eraseenv_new
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" <[email protected]>
IMHO the U_BOOT_ENV_LOCATION should be extended to add a new function
pointer, and the generic command calls it.
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot