Re: [PATCH] xtensa: rename BUILTIN_DTB to BUILTIN_DTB_SOURCE

From: Max Filippov
Date: Wed Jan 23 2019 - 14:33:51 EST


On Wed, Jan 23, 2019 at 1:49 AM Corentin Labbe <clabbe@xxxxxxxxxxxx> wrote:
>
> When building some xtensa config, I hit the following warning:
> drivers/staging/mt7621-dts/Kconfig:4:warning: 'BUILTIN_DTB' has wrong type. 'select' only accept arguments of bool and tristate type
>
> It is due to some arch use BUILTIN_DTB as a flag for the need to builtin
> dtb but xtensa use it as a string for which dtb to bulltin.
> But for this (which dtb to build), it is better to use
> BUILTIN_DTB_SOURCE like other arch do.

It's odd that we see a warning from the driver's Kconfig, even though
the driver itself is not selected (it depends on SOC_MT7621 which
is a MIPS-based SoC).

--
Thanks.
-- Max