Re: [PATCH v3] riscv: dts: Move BUILTIN_DTB_SOURCE to common Kconfig

From: Conor Dooley
Date: Tue Mar 05 2024 - 19:13:44 EST


From: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>

On Wed, 28 Feb 2024 16:52:54 +0800, Yangyu Chen wrote:
> The BUILTIN_DTB_SOURCE was only configured for K210 before. Since
> SOC_BUILTIN_DTB_DECLARE was removed at commit d5805af9fe9f ("riscv: Fix
> builtin DTB handling") from patch [1], the kernel cannot choose one of the
> dtbs from then on and always take the first one dtb to use. Then, another
> commit 0ddd7eaffa64 ("riscv: Fix BUILTIN_DTB for sifive and microchip soc")
> from patch [2] supports BUILTIN_DTB_SOURCE for other SoCs. However, this
> feature will only work if the Kconfig we use links the dtb we expected in
> the first place as mentioned in the thread [3]. Thus, a config
> BUILTIN_DTB_SOURCE is needed for all SoCs to choose one dtb to use.
>
> [...]

Applied to riscv-dt-fixes, thanks!

[1/1] riscv: dts: Move BUILTIN_DTB_SOURCE to common Kconfig
https://git.kernel.org/conor/c/2672031b20f6

Thanks,
Conor.