[PATCH] stm32mp: stm32prog: use defines for virtual partition size

Patrick DELAUNAY patrick.delaunay at foss.st.com
Fri Jul 16 10:30:52 CEST 2021


Hi,

On 7/5/21 9:39 AM, Patrick Delaunay wrote:
> Use the existing defines PMIC_SIZE and OTP_SIZE and a new define
> CMD_SIZE for virtual partition size.
>
> This patch corrects the size for OTP partition in alternate name
> (1024 instead of 512) and avoids other alignment issues.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
>
>   arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c     | 6 +++---
>   arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h     | 1 +
>   arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c | 2 +-
>   3 files changed, 5 insertions(+), 4 deletions(-)
>

Applied to u-boot-stm/master, thanks!

Regards
Patrick



More information about the U-Boot mailing list