
21 Oct
2021
21 Oct
'21
8:49 p.m.
From: Marek BehĂșn marek.behun@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@nic.cz Reviewed-by: Simon Glass sjg@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!