From: Sam Day <[email protected]> All Exynos7 mobile devices need abootimg+DTBH wrapping to be bootable from the fused S-BOOT bootloader. So we enable BINMAN everywhere. Ideally we'll have full coverage of these devices with binman configs in the overlay DTSIs but, for now, we ensure there's a placeholder node. That way no existing devices will regress their cleanly buildable state.
Signed-off-by: Sam Day <[email protected]> --- arch/arm/dts/exynos-mobile.dtsi | 5 +++++ arch/arm/mach-exynos/Kconfig | 1 + configs/exynos-mobile_defconfig | 1 + 3 files changed, 7 insertions(+) diff --git a/arch/arm/dts/exynos-mobile.dtsi b/arch/arm/dts/exynos-mobile.dtsi new file mode 100644 index 00000000000..9982e996993 --- /dev/null +++ b/arch/arm/dts/exynos-mobile.dtsi @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 +/ { + binman { + }; +}; diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index b084b7284aa..d4ae182030d 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -255,6 +255,7 @@ endif config TARGET_EXYNOS_MOBILE bool "Samsung Exynos Generic Boards (for mobile devices)" select ARM64 + select BINMAN select BOARD_EARLY_INIT_F select CLK_EXYNOS select LINUX_KERNEL_IMAGE_HEADER diff --git a/configs/exynos-mobile_defconfig b/configs/exynos-mobile_defconfig index 45ab998bb45..fcaff3d1608 100644 --- a/configs/exynos-mobile_defconfig +++ b/configs/exynos-mobile_defconfig @@ -32,6 +32,7 @@ CONFIG_EFI_PARTITION=y CONFIG_OF_UPSTREAM=y CONFIG_OF_UPSTREAM_BUILD_VENDOR=y CONFIG_OF_BOARD=y +CONFIG_DEVICE_TREE_INCLUDES="exynos-mobile.dtsi" CONFIG_BLKMAP=y CONFIG_BUTTON_REMAP_PHONE_KEYS=y CONFIG_CLK_EXYNOS7870=y -- 2.54.0

