1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/sysutils/u-boot-rpi3/Makefile
Kyle Evans 3efdcc42ff sysutils/u-boot-rpi{3,4}: Add patch to fix PSCI stub reservation
For the traditional spin table setup, only the lowest page needs
to be reserved.  However, our PSCI stubs are slightly bigger and occupy
a little over one page.  These patches, already sent upstream, allow a
variable number of initial pages to be reserved for the SMP stubs.  We
then set the values for these in our fragment to '2' to reserve the first
and second page.

Approved by:	koobs (mentor)
Approved by:	manu (uboot, maintainer)
MFH:		2020Q1
Differential Revision:	https://reviews.freebsd.org/D24085
2020-03-16 21:32:55 +00:00

23 lines
526 B
Makefile

# $FreeBSD$
MASTERDIR= ${.CURDIR}/../u-boot-master
U_BOOT_SLAVE_PORTREVISION_2019.10= 1
EXTRA_PATCHES= ${.CURDIR}/files/
PATCHFILES+= 939129/raw
# Allow variable reservation of lowest pages for increased PSCI stub size.
PATCHFILES+= 1245351/raw 1245352/raw
MODEL= rpi3
BOARD_CONFIG= rpi_3_defconfig
FAMILY= rpi
UBOOT_ARCH= aarch64
DEPENDS= ${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware
CONFIG_FRAGMENT= ${.CURDIR}/files/rpi3_fragment
FRAGMENT_NAME= rpi3_fragment
.include "${MASTERDIR}/Makefile"