Philipp Tomsich f1c6e1922e 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>
2017-08-13 17:12:20 +02:00
..
2016-01-19 08:31:21 -05:00
2017-06-16 10:11:38 -04:00
2016-04-11 20:48:26 -04:00
2016-01-19 08:31:21 -05:00
2017-07-06 16:17:19 -04:00
2016-01-19 08:31:21 -05:00
2016-02-06 12:00:59 +01:00
2017-04-13 09:41:10 -04:00
2017-07-06 16:17:19 -04:00
2017-06-01 07:03:12 -06:00