u-boot/env
Quentin Schulz 97b34f6ace env: mmc: print MMC device being read
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>
2024-04-18 16:37:25 -06:00
..
attr.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
callback.c env: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:24 -04:00
common.c Merge branch '2024-01-18-assorted-fixes' 2024-01-19 08:46:47 -05:00
eeprom.c env: eeprom: Remove CONFIG_I2C_ENV_EEPROM_BUS support 2022-12-22 10:31:48 -05:00
embedded.c global: Restrict use of '#include <linux/kconfig.h>' 2023-12-21 08:54:05 -05:00
env.c env: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:24 -04:00
ext4.c fs: ext4: Remove unused parameter from ext4_mount 2023-11-16 18:53:09 -05:00
fat.c Add SCSI scan for ENV in EXT4 or FAT 2022-07-08 09:05:47 -04:00
flags.c env: Couple networking-related variable flags to CONFIG_NET 2023-02-10 11:24:08 -05:00
flash.c Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
Kconfig xilinx: versal-net: Add support for saving env based on bootmode 2024-03-22 12:41:31 +01:00
Makefile env: Drop ENV_IS_IN_SATA 2023-02-07 14:33:48 -05:00
mmc.c env: mmc: print MMC device being read 2024-04-18 16:37:25 -06:00
nand.c Convert CONFIG_ENV_RANGE to Kconfig 2022-06-28 17:11:48 -04:00
nowhere.c env: nowhere: Cosmetic fix 2021-10-31 12:26:44 -06:00
nvram.c env: nvram: Drop CONFIG_SYS_NVRAM_ACCESS_ROUTINE 2022-12-22 10:31:48 -05:00
onenand.c mtd: Remove mtd_erase_callback() entirely 2021-10-23 15:47:33 +05:30
remote.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sf.c env: sf: report malloc error to caller 2024-01-29 14:52:23 -05:00
ubi.c env: ubi: add support of command env erase 2023-01-11 15:02:24 -05:00