rpi: use the newly-added RPI_EFI_NR_SPIN_PAGES
PATCH 2/2 rpi: use the newly-added RPI_EFI_NR_SPIN_PAGES
From: Kyle Evans <[email protected]>
Some systems may use a slightly larger stub to do PSCI for booting the RPi family. The number of pages has been made configurable so that operating systems building U-Boot for use in these kinds of environments can reserve more memory in the EFI memory map.
--- board/raspberrypi/rpi/rpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
board/raspberrypi/rpi/rpi.c +2 -1
@@ -489,7 +489,8 @@ int ft_board_setup(void *blob, bd_t *bd)#ifdef CONFIG_EFI_LOADER /* Reserve the spin table */ -efi_add_memory_map (0 ,1 ,EFI_RESERVED_MEMORY_TYPE ,0 ); +efi_add_memory_map (0 ,CONFIG_RPI_EFI_NR_SPIN_PAGES , +EFI_RESERVED_MEMORY_TYPE ,0 );#endif return 0 ;
Signature · 1 line
2.25.1
Matthias Brugger
AppliedPATCH 2/2 rpi: use the newly-added RPI_EFI_NR_SPIN_PAGES
Quoted 9 lines · kevans at FreeBSD.org
From: Kyle Evans <[email protected]>
Some systems may use a slightly larger stub to do PSCI for booting the RPi family. The number of pages has been made configurable so that operating systems building U-Boot for use in these kinds of environments can reserve more memory in the EFI memory map.
Signed-off-by Kyle Evans <[email protected]>---
Queued now for rpi-next
Sorry for the far to long delay
Quoted 18 lines
board/raspberrypi/rpi/rpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)board/raspberrypi/rpi/rpi.c +2
-1@@ -489,7 +489,8 @@ int ft_board_setup(void *blob, bd_t *bd)#ifdef CONFIG_EFI_LOADER /* Reserve the spin table */ -efi_add_memory_map (0 ,1 ,EFI_RESERVED_MEMORY_TYPE ,0 ); +efi_add_memory_map (0 ,CONFIG_RPI_EFI_NR_SPIN_PAGES , +EFI_RESERVED_MEMORY_TYPE ,0 );#endif return 0 ;
PATCH 2/2 rpi: use the newly-added RPI_EFI_NR_SPIN_PAGES
Quoted 9 lines · Matthias Brugger
Quoted 7 lines · kevans at FreeBSD.org
From: Kyle Evans <[email protected]>
Some systems may use a slightly larger stub to do PSCI for booting the RPi family. The number of pages has been made configurable so that operating systems building U-Boot for use in these kinds of environments can reserve more memory in the EFI memory map.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Kyle Evans <[email protected]>---
Queued now for rpi-next
Sorry for the far to long delay
No worries, thanks! =-)