]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: dm: use CONFIG_IS_ENABLED to test for the DM option
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 30 Jun 2017 17:02:53 +0000 (19:02 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:20 +0000 (17:12 +0200)
commitf1c6e1922eb57f4a212c09709801a1cc7920ffa9
tree97d5c1026f5995a79a01b79b91f6ca8c27ab87fd
parentf291ce1298f078175bbe3c2e600d03cae173403f
spl: dm: use CONFIG_IS_ENABLED to test for the DM option

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@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c
include/linux/kconfig.h