[RFC PATCH 1/1] Makefile: Expand legacy (non-DM) driver warnings

Simon Glass sjg at chromium.org
Sat Mar 28 21:05:48 CET 2020


Hi Niel,

On Wed, 25 Mar 2020 at 07:47, Niel Fourie <lusus at denx.de> wrote:
>
> Expand warnings printed by Makefile after compile when legacy
> drivers are in use. These include:
>
> - CONFIG_HAVE_BLOCK_DEVICE without CONFIG_BLK
> - CONFIG_BOOTCOUNT_LIMIT without CONFIG_DM_BOOTCOUNT
> - CONFIG_MTD without CONFIG_DM_MTD
> - CONFIG_PHYLIB without CONFIG_DM_MDIO
> - CONFIG_POWER, also without CONFIG_DM_PMIC
> - Absence of CONFIG_RAM and CONFIG_SPL_RAM
>
> Also replaced existing CONFIG_DM_SPI warning for consistency.
> Removed CONFIG_BLK requirement for CONFIG_DM_USB, as all USB
> devices not block devices.
>
> Signed-off-by: Niel Fourie <lusus at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  Makefile | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
>  1 file changed, 67 insertions(+), 6 deletions(-)

Could we add instructions on what should be done? It seems a little
unclear to me.

Regards,
Simon


More information about the U-Boot mailing list