Hi Chen-Yu,

On 2/4/25 6:21 PM, Chen-Yu Tsai wrote:
From: Chen-Yu Tsai <w...@csie.org>

Device tree overlays are immensely useful.

Enable it by default by implying it from ARCH_ROCKCHIP.

Signed-off-by: Chen-Yu Tsai <w...@csie.org>
---

  arch/arm/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f504d7d07601..2797030d3501 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2061,6 +2061,7 @@ config ARCH_ROCKCHIP
        imply DEBUG_UART_BOARD_INIT
        imply BOOTSTD_DEFAULTS
        imply FAT_WRITE
+       imply OF_LIBFDT_OVERLAY
        imply SARADC_ROCKCHIP
        imply SPL_SYSRESET
        imply SPL_SYS_MALLOC_SIMPLE

Yes but not entirely enough right now.

See: https://lore.kernel.org/u-boot/20250129-px30-overlay-v1-0-4729b3fcb...@cherry.de/T/#t

At least it still boots even if fdtoverlay_addr_r isn't set so that's not too much of an issue.

Would be nice to check which SoCs do not have this fdtoverlay_addr_r set and actually set it as well, otherwise enabling this doesn't help much :) (at least with pxe/extlinux)

Cheers,
Quentin

Reply via email to