aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-07-14 19:19:15 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-07-14 19:24:42 +0000
commit619258548719d4ffb1e3a0398786b67c3cfec00e (patch)
tree27c68551a9989f0f7e2bfc1f9d3b9acb0231c7c0
parent7f1bab7e19e61494dbc1ab9ab464b875895f408a (diff)
downloadports-619258548719d4ffb1e3a0398786b67c3cfec00e.tar.gz
ports-619258548719d4ffb1e3a0398786b67c3cfec00e.zip
sysutils/u-boot-rpi2: Add CONFIG_EFI_GRUB_ARM32_WORKAROUND
We need this config to flush the caches, it was added to the generic FreeBSD_Fragment but this ports uses a dedicated fragment to add it there too. While here remove CONFIG_API and CONFIG_CMD_CACHE as those aren't usefull for EFI boot flow.
-rw-r--r--sysutils/u-boot-rpi2/Makefile2
-rw-r--r--sysutils/u-boot-rpi2/files/rpi2_fragment3
2 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/u-boot-rpi2/Makefile b/sysutils/u-boot-rpi2/Makefile
index d11d15970b04..e0d7bdf5b101 100644
--- a/sysutils/u-boot-rpi2/Makefile
+++ b/sysutils/u-boot-rpi2/Makefile
@@ -6,7 +6,7 @@ MODEL= rpi2
BOARD_CONFIG= rpi_2_defconfig
FAMILY= rpi
-U_BOOT_SLAVE_PORTREVISION_2021.04= 1
+U_BOOT_SLAVE_PORTREVISION_2021.07= 1
DEPENDS= ${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware
diff --git a/sysutils/u-boot-rpi2/files/rpi2_fragment b/sysutils/u-boot-rpi2/files/rpi2_fragment
index 6978250aac7c..e5849534639e 100644
--- a/sysutils/u-boot-rpi2/files/rpi2_fragment
+++ b/sysutils/u-boot-rpi2/files/rpi2_fragment
@@ -1,5 +1,4 @@
CONFIG_OF_EMBED=n
CONFIG_OF_BOARD=y
-CONFIG_API=y
CONFIG_ARMV7_NONSEC=n
-CONFIG_CMD_CACHE=y
+CONFIG_EFI_GRUB_ARM32_WORKAROUND=y