On 11/10/22 11:49, Patrick Delaunay wrote: > 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.delau...@foss.st.com> > --- > > env/mmc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/env/mmc.c b/env/mmc.c > index bd7d51e6b633..8941e0f5ff39 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 */ Reviewed-by: Patrice Chotard <patrice.chot...@foss.st.com> Thanks Patrice
- [PATCH 2/8] env: mcc: Drop unnecessary #ifdefs Patrick Delaunay
- Re: [Uboot-stm32] [PATCH 2/8] env: mcc: Drop unneces... Patrice CHOTARD
- [PATCH 4/8] env: mmc: add CONFIG_ENV_MMC_USE_DT Patrick Delaunay
- Re: [Uboot-stm32] [PATCH 4/8] env: mmc: add CONFIG_E... Patrice CHOTARD
- [PATCH 5/8] configs: stm32mp: activate CONFIG_ENV_MMC_USE... Patrick Delaunay
- [PATCH 6/8] env: mmc: select GPT env partition by type gu... Patrick Delaunay
- Re: [Uboot-stm32] [PATCH 6/8] env: mmc: select GPT e... Patrice CHOTARD
- [PATCH 8/8] env: mmc: cosmetic: remove unused macro STR(X... Patrick Delaunay
- Re: [Uboot-stm32] [PATCH 8/8] env: mmc: cosmetic: re... Patrice CHOTARD
- [PATCH 7/8] env: mmc: add debug message when mmc-env-part... Patrick Delaunay
- Re: [Uboot-stm32] [PATCH 7/8] env: mmc: add debug me... Patrice CHOTARD
- Re: [PATCH 0/8] env: mmc: improvements and corrections Simon Glass