diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2024-04-15 14:43:57 +0200 |
---|---|---|
committer | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2024-04-22 10:31:24 +0200 |
commit | a2caa651a82a06664365bd10efefa65a03c4d1d2 (patch) | |
tree | 262a24479b538d76351f7b3f49cfd4c0e6055993 /Kbuild | |
parent | 14479a32538eb3ff0e9d6f4c0c9296c10b2caf1b (diff) |
UPSTREAM: env: mmc: print MMC device being readHEADv2022.10-puma
This prints the MMC device being read similar to how we print the MMC
device we write to when e.g. calling saveenv.
One of the side effects is that the boot log now shows from which MMC
device the env was loaded:
Loading Environment from MMC... Reading from MMC(1)... OK
This is useful to identify which MMC device the environment was loaded
from for boards where there are more than one (e.g. eMMC and SD card)
without adding some debug messages manually.
Sadly, there's no way to know which of the default or redundant
environment is being read from env_mmc_load before env_import_redund is
called so it is printing a bit later (and possibly after error/warning
messages).
Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
(cherry picked from commit 97b34f6ace539c9c16eb8565f8b58730848ba97a)
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions