aboutsummaryrefslogtreecommitdiff
path: root/board/raspberrypi
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-02-26 15:37:13 -0600
committerMatthias Brugger <mbrugger@suse.com>2020-05-13 14:04:49 +0200
commitc6badda85c6f29904aa8f55c508921d38b93cc60 (patch)
treeee3b716a9caa6d2240641ed27e17c5ae1d569d5f /board/raspberrypi
parentcdabf301db84de7717340b391c97b762890469cd (diff)
downloadu-boot-c6badda85c6f29904aa8f55c508921d38b93cc60.zip
u-boot-c6badda85c6f29904aa8f55c508921d38b93cc60.tar.gz
u-boot-c6badda85c6f29904aa8f55c508921d38b93cc60.tar.bz2
rpi: Kconfig option for initial page reservation
While the nearly-universal default for the Raspberry Pi family is to use spin tables and the spin table implementation provided by the Raspberry Pi Foundation, FreeBSD and others may use a PSCI implementation instead. Accommodate these setups by allowing them to configure for more than one page to be reserved in the initial reservation. The default reservation remains as one page. Signed-off-by: Kyle Evans <kevans@FreeBSD.org> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'board/raspberrypi')
-rw-r--r--board/raspberrypi/rpi/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/raspberrypi/rpi/Kconfig b/board/raspberrypi/rpi/Kconfig
new file mode 100644
index 0000000..e40088f
--- /dev/null
+++ b/board/raspberrypi/rpi/Kconfig
@@ -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