Skip to content

Patrick Delaunay u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Revert "stm32mp1: remove the imply BOOTSTAGE"arch/arm/mach-stm32mp/Kconfig+2 -01 reply
2/3arm: set the relocated gd with gd->new_gdarch/arm/lib/crt0.S+1 -21 reply
3/3board_f.c: Insure 16 alignment of start_addr_sp and reserved memorycommon/board_f.c+18 -141 reply
3/3board_f.c: Insure 16 alignment of start_addr_sp and reserved memory+0 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/3R-b
2/3R-b
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3]

Hi,

This serie depends on
http://patchwork.ozlabs.org/patch/1201452/
[U-Boot,v3] board_f.c: Insure gd->new_bootstage alignment reserve_sp

It should be applied only after this patch.

First I remove the stm32mp1 workaround as the issue of bootstage alignment is solved.

The 3rd patch is a complete solution (proposed in comment 5 of previous patch http://patchwork.ozlabs.org/patch/1201452/#2327366)
always align the reserved memory to 16 bytes with a new function reserve_sp()

This patch causes an issue on ARM 32 bits, as relocated gd pointer is not initialized with gd->new_gd as expected in reserve_global_data() but is hardcoded with
relocated gd = gd->bd - GD_SIZE {GD_SIZE = sizeof(struct global_data)}

This issue is solved with the second patch of the serie
arm: set the relocated gd with gd->new_gd

Only tested on STM32MP157C-EV1 board.

Patrick Delaunay (3):
Revert "stm32mp1: remove the imply BOOTSTAGE"
arm: set the relocated gd with gd->new_gd
board_f.c: Insure 16 alignment of start_addr_sp and reserved memory

 arch/arm/lib/crt0.S           |  3 +--
 arch/arm/mach-stm32mp/Kconfig |  2 ++
 common/board_f.c              | 32 ++++++++++++++++++--------------
 3 files changed, 21 insertions(+), 16 deletions(-)
Signature · 1 line
2.17.1