mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
env: mmc: add debug message when mmc-env-partition is not found
Add a debug message to indicate a potential issue when "u-boot,mmc-env-partition" is present in config node of device tree but this partition name is not found in the mmc device. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
This commit is contained in:
parent
80105d8fd5
commit
52e9aa3cd2
1 changed files with 1 additions and 0 deletions
1
env/mmc.c
vendored
1
env/mmc.c
vendored
|
@ -120,6 +120,7 @@ static inline s64 mmc_offset(int copy)
|
|||
err = mmc_offset_try_partition(str, copy, &val);
|
||||
if (!err)
|
||||
return val;
|
||||
debug("env partition '%s' not found (%d)", str, err);
|
||||
}
|
||||
|
||||
/* try the GPT partition with "U-Boot ENV" TYPE GUID */
|
||||
|
|
Loading…
Add table
Reference in a new issue