]> git.sur5r.net Git - u-boot/commit
env: restore old env_get_char() behaviour
authorGoldschmidt Simon <sgoldschmidt@de.pepperl-fuchs.com>
Fri, 9 Feb 2018 20:23:17 +0000 (20:23 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 16 Feb 2018 16:12:42 +0000 (11:12 -0500)
commitb2cdef4861befb65e784c01ed71a48bfb811ab38
treebd8f5b467d2f09670e7167a2a66ceb95d8407347
parente1caa5841e8a9bc0ee658bdacae0519fa28e1e6a
env: restore old env_get_char() behaviour

With multiple environments, the 'get_char' callback for env
drivers does not really make sense any more because it is
only supported by two drivers (eeprom and nvram).

To restore single character loading for these drivers,
override 'env_get_char_spec'.

Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
env/eeprom.c
env/env.c
env/nvram.c
include/environment.h