diff options
| author | Patrick Delaunay <[email protected]> | 2022-11-10 11:49:04 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-10 12:37:09 -0500 |
| commit | 52e9aa3cd28396f1bf28640860a95784fb8a7302 (patch) | |
| tree | 334c02d36b0e459a385b87a71de17c786738afa1 | |
| parent | 80105d8fd525406a8792db2cb4f1b2002349cfb7 (diff) | |
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 <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
| -rw-r--r-- | env/mmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/env/mmc.c b/env/mmc.c index bd7d51e6b63..8941e0f5ff3 100644 --- a/env/mmc.c +++ b/env/mmc.c @@ -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 */ |
