Re: [PATCH v3 2/8] MIPS: Ingenic: Configure CONFIG_BUILTIN_DTB=y for Ingenic based devices

From: Paul Cercueil

Date: Mon Nov 30 2026 - 11:48:01 EST


Hi Nikolaus,

Le samedi 28 novembre 2026 à 18:20 +0100, H. Nikolaus Schaller a écrit :
> Explicitly enable BUILTIN_DTB in the existing Ingenic board defconfigs
> to preserve their built-in DTB support when MACH_INGENIC stops
> selecting BUILTIN_DTB implicitly.
>
> Leave gcw0_defconfig unchanged because it explicitly selects
> MIPS_RAW_APPENDED_DTB and therefore does not implicitly enable
> BUILTIN_DTB.
>
> Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>

Reviewed-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>

Cheers,
-Paul

> ---
>
> Notes:
>     Changes in v3:
>     - Leave GCW0 unchanged to preserve its existing raw appended DTB
>       configuration.
>
>  arch/mips/configs/ci20_defconfig       | 1 +
>  arch/mips/configs/cu1000-neo_defconfig | 1 +
>  arch/mips/configs/cu1830-neo_defconfig | 1 +
>  arch/mips/configs/qi_lb60_defconfig    | 1 +
>  arch/mips/configs/rs90_defconfig       | 1 +
>  5 files changed, 5 insertions(+)
>
> diff --git a/arch/mips/configs/ci20_defconfig
> b/arch/mips/configs/ci20_defconfig
> index 90536cab417ee..b45a6c7b54ea8 100644
> --- a/arch/mips/configs/ci20_defconfig
> +++ b/arch/mips/configs/ci20_defconfig
> @@ -23,6 +23,7 @@ CONFIG_MACH_INGENIC_SOC=y
>  CONFIG_JZ4780_CI20=y
>  CONFIG_HIGHMEM=y
>  CONFIG_HZ_100=y
> +CONFIG_BUILTIN_DTB=y
>  # CONFIG_SUSPEND is not set
>  # CONFIG_SECCOMP is not set
>  CONFIG_MODULES=y
> diff --git a/arch/mips/configs/cu1000-neo_defconfig
> b/arch/mips/configs/cu1000-neo_defconfig
> index ed2a620e4f86a..a505de6e9e367 100644
> --- a/arch/mips/configs/cu1000-neo_defconfig
> +++ b/arch/mips/configs/cu1000-neo_defconfig
> @@ -22,6 +22,7 @@ CONFIG_MACH_INGENIC_SOC=y
>  CONFIG_X1000_CU1000_NEO=y
>  CONFIG_HIGHMEM=y
>  CONFIG_HZ_100=y
> +CONFIG_BUILTIN_DTB=y
>  # CONFIG_SECCOMP is not set
>  # CONFIG_SUSPEND is not set
>  CONFIG_MODULES=y
> diff --git a/arch/mips/configs/cu1830-neo_defconfig
> b/arch/mips/configs/cu1830-neo_defconfig
> index 9b4aeeef58ceb..1fa7a49543063 100644
> --- a/arch/mips/configs/cu1830-neo_defconfig
> +++ b/arch/mips/configs/cu1830-neo_defconfig
> @@ -22,6 +22,7 @@ CONFIG_MACH_INGENIC_SOC=y
>  CONFIG_X1830_CU1830_NEO=y
>  CONFIG_HIGHMEM=y
>  CONFIG_HZ_100=y
> +CONFIG_BUILTIN_DTB=y
>  # CONFIG_SECCOMP is not set
>  # CONFIG_SUSPEND is not set
>  CONFIG_MODULES=y
> diff --git a/arch/mips/configs/qi_lb60_defconfig
> b/arch/mips/configs/qi_lb60_defconfig
> index a1bb0792f6eb1..18fe70487817c 100644
> --- a/arch/mips/configs/qi_lb60_defconfig
> +++ b/arch/mips/configs/qi_lb60_defconfig
> @@ -9,6 +9,7 @@ CONFIG_EXPERT=y
>  CONFIG_MACH_INGENIC_SOC=y
>  CONFIG_JZ4740_QI_LB60=y
>  CONFIG_HZ_100=y
> +CONFIG_BUILTIN_DTB=y
>  # CONFIG_SECCOMP is not set
>  CONFIG_MODULES=y
>  CONFIG_MODULE_UNLOAD=y
> diff --git a/arch/mips/configs/rs90_defconfig
> b/arch/mips/configs/rs90_defconfig
> index 8382d535e6dc1..0c57d829d1720 100644
> --- a/arch/mips/configs/rs90_defconfig
> +++ b/arch/mips/configs/rs90_defconfig
> @@ -22,6 +22,7 @@ CONFIG_MACH_INGENIC_SOC=y
>  CONFIG_JZ4740_RS90=y
>  CONFIG_PAGE_SIZE_16KB=y
>  CONFIG_HZ_100=y
> +CONFIG_BUILTIN_DTB=y
>  # CONFIG_SECCOMP is not set
>  CONFIG_MIPS_CMDLINE_DTB_EXTEND=y
>  # CONFIG_SUSPEND is not set