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

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Sun Apr 7 18:07:00 UTC 2019


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" <sbabic at denx.de>
>> IMHO the U_BOOT_ENV_LOCATION should be extended to add a new function
>> pointer, and the generic command calls it.


More information about the U-Boot mailing list