[PATCH v3 02/13] env: Drop env_get_char_spec() and old, unused .get_char() implementations

Simon Glass sjg at chromium.org
Thu Oct 21 20:49:19 CEST 2021


From: Marek Behún <marek.behun at nic.cz>

Commit b2cdef4861be ("env: restore old env_get_char() behaviour")
dropped the .get_char() method from struct env_driver, but left the two
existing implementations (eeprom and nvram) in case someone would use
them by overwriting weak function env_get_char_spec().

Since this was never done in the 3.5 years, let's drop these methods and
simplify the code.

Signed-off-by: Marek Behún <marek.behun at nic.cz>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
 env/eeprom.c | 18 ------------------
 env/env.c    |  7 +------
 env/nvram.c  | 14 --------------
 3 files changed, 1 insertion(+), 38 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list