/openbmc/u-boot/env/ |
H A D | remote.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
H A D | flash.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
H A D | nvram.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
H A D | sata.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
H A D | ubi.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
H A D | nand.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
H A D | eeprom.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
H A D | ext4.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
H A D | fat.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
H A D | mmc.c | diff 2166ebf7831674508425daf50c78e481083c6462 Wed Jan 31 07:47:12 CST 2018 Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> env: make env drivers propagate env_import return value
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function.
Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|