[PATCH v2] env: mmc: fix offsets relative to the end of the partition

Peng Fan peng.fan at oss.nxp.com
Wed Jul 2 10:57:38 CEST 2025


On Thu, Jun 05, 2025 at 09:46:10AM +0200, Michael Walle wrote:
>According to the help text, you can set negative offsets to indicated
>that the offset is relative to the end of the parition. But kconfig
>doesn't let you specify negative hex values. I think this fell through
>the cracks when converting the symbol from a '#define' to a kconfig
>option.
>
>Introduce a new boolean kconfig option to switch on the "relative to the
>end" behavior.
>
>Signed-off-by: Michael Walle <mwalle at kernel.org>

Applied to mmc-next after resolved conflicts. Sorry for late.

Thanks,
Peng


More information about the U-Boot mailing list