[U-Boot] [U-Boot, v4, 15/66] spl: dm: use CONFIG_IS_ENABLED to test for the DM option

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Sun Aug 6 17:18:05 UTC 2017


> Even though there's now a TPL_DM configuration option, the spl logic
> still checks for SPL_DM and thus does not pick up the proper config
> option.
> 
> This introduces the use of CONFIG_IS_ENABLED(DM) in spl.c to always
> pick up the desired configuration option instead of having a
> hard-coded check for the SPL variant.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
> 
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
> 
>  common/spl/spl.c        |  5 +++--
>  include/linux/kconfig.h | 13 +++++++++++++
>  2 files changed, 16 insertions(+), 2 deletions(-)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list