
Hi Frank,
On 07/04/19 17:20, Frank Wunderlich wrote:
Hi Stefano,
I agree a global env erase which calls device-specific function is better than current implementation. I havn't figured out how i can implement it. Is there a simple example for this?
IMHO the U_BOOT_ENV_LOCATION should be extended to add a new function pointer, and the generic command calls it.
Regards, Stefano
Regards Frank
Am 7. April 2019 14:55:42 MESZ schrieb Stefano Babic sbabic@denx.de:
Hi Frank,
On 06/04/19 20:12, Frank Wunderlich wrote:
"mmc eraseenv" allows to erase the section on mmc where env is stored
Why do we need a specific command for MMC ? If we need such a command, should it not unaware of the storage ? That is a "env eraseenv", and this calls the corresponding function for SPI /MMC / NAND /.. ?