From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:05 +0200 Subject: [U-Boot] [U-Boot, v4, 15/66] spl: dm: use CONFIG_IS_ENABLED to test for the DM option In-Reply-To: <1501706105-7490-16-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-16-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > > Reviewed-by: Simon Glass > Reviewed-by: Tom Rini > --- > > 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!