Merge tag 'rpi-next-2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-raspberrypi
- fix phy configuration for RPi4's bcmgenet - sync RPi4's env size with other RPi configs - add kconfig option to reserver more pages in the EFI mem map - add support for SDMA which is used by RPi4 - fix corner case boot bug for RPi3 32-bit
This commit is contained in:
10
board/raspberrypi/rpi/Kconfig
Normal file
10
board/raspberrypi/rpi/Kconfig
Normal file
@@ -0,0 +1,10 @@
|
||||
if SYS_BOARD = "rpi"
|
||||
|
||||
config RPI_EFI_NR_SPIN_PAGES
|
||||
int "Spin table page count"
|
||||
default 1
|
||||
help
|
||||
Number of pages to reserve starting at page 0 for spin tables in the EFI
|
||||
memory map
|
||||
|
||||
endif
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user