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 <[email protected]>: >> 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 /.. ? -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] ===================================================================== _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

