From 46e01c0e1dade74f5ce777bf8593fe2722318af2 Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Fri, 13 Oct 2023 14:12:02 +0300 Subject: u-boot: Avoid building U-Boot-only binman images For Rockchip boards U-Boot tries to build SPI and MMC images that require an externally built BL31 file to be provided, and the build fails otherwise. This is not really as configurable as it should be. In Libreboot, we only care about the build outputs for U-Boot proper. There is a BL31 built during our coreboot builds, but using that in U-Boot builds is a chicken-and-egg problem. Building BL31 outside the coreboot build and passing it to both projects is possible, but needs work. For now, stop trying to build these U-Boot-only images as a workaround, by removing the binman image descriptions from the device-tree sources. Additionally, disable in our configs the BINMAN_FDT functionality that allows using these at runtime as it requires them to be present. Signed-off-by: Alper Nebi Yasak --- config/u-boot/gru_kevin/config/default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/u-boot/gru_kevin') diff --git a/config/u-boot/gru_kevin/config/default b/config/u-boot/gru_kevin/config/default index a76b6b9c..42386785 100644 --- a/config/u-boot/gru_kevin/config/default +++ b/config/u-boot/gru_kevin/config/default @@ -2175,7 +2175,7 @@ CONFIG_FS_FAT_MAX_CLUSTSIZE=65536 # CONFIG_SYS_TIMER_COUNTS_DOWN is not set # CONFIG_PHYSMEM is not set # CONFIG_BCH is not set -CONFIG_BINMAN_FDT=y +# CONFIG_BINMAN_FDT is not set # CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set CONFIG_CHARSET=y # CONFIG_DYNAMIC_CRC_TABLE is not set -- cgit v1.2.1