diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-06-09 07:59:14 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-06-17 08:28:55 +0200 |
commit | 402a9a090b3143b7c63a695dd8211ee124fe4d15 (patch) | |
tree | c1958b087bba1d26b63844d840e5fec26f1be27b /images | |
parent | 397a8edb7daafde37d8677f28f5023baf6101e97 (diff) | |
download | barebox-402a9a090b3143b7c63a695dd8211ee124fe4d15.tar.gz barebox-402a9a090b3143b7c63a695dd8211ee124fe4d15.tar.xz |
ARM: rpi: add Raspberry Pi 3 64-bit build support
Have the subarch select the needed symbols to display a 32-bit/64-bit
menu and hide the boards that aren't capable of 64-bit when
CONFIG_64BIT=y. Building for 64-bit throws some warning about mismatched
type sizes, so fix those as well.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220609055922.667016-14-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images')
-rw-r--r-- | images/Makefile.bcm283x | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/images/Makefile.bcm283x b/images/Makefile.bcm283x index b591cd58f5..f4ef7f447c 100644 --- a/images/Makefile.bcm283x +++ b/images/Makefile.bcm283x @@ -3,6 +3,10 @@ # barebox image generation Makefile for BCM283x images # +# New boards use board-dt-2nd.img as common binary +# and have the videocore pass the correct DT. +ifeq ($(CONFIG_32BIT),y) + pblb-$(CONFIG_MACH_RPI) += start_raspberry_pi1 FILE_barebox-raspberry-pi-1.img = start_raspberry_pi1.pblb image-$(CONFIG_MACH_RPI) += barebox-raspberry-pi-1.img @@ -19,6 +23,8 @@ pblb-$(CONFIG_MACH_RPI_CM3) += start_raspberry_pi_cm3 FILE_barebox-raspberry-pi-cm3.img = start_raspberry_pi_cm3.pblb image-$(CONFIG_MACH_RPI_CM3) += barebox-raspberry-pi-cm3.img +endif + pblb-$(CONFIG_MACH_RPI_COMMON) += start_raspberry_pi_generic FILE_barebox-raspberry-pi.img = start_raspberry_pi_generic.pblb image-$(CONFIG_MACH_RPI_COMMON) += barebox-raspberry-pi.img |