drivers: spl: consistently use the $(SPL_TPL_) macro
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 4 Jul 2017 09:29:55 +0000 (11:29 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:21 +0000 (17:12 +0200)
commit87c16d49a6bc67ecf864ee394d386e282fbe55aa
treeadfc0935421db69e44cd67d6cb4f3906e2cbdbc0
parentc3916e7bdb66e6ad0847e5d1cdbef65907ad0a4d
drivers: spl: consistently use the $(SPL_TPL_) macro

To simplify drivers/Makefile a bit when using TPL/SPL, we consistently
use the $(SPL_TPL_) macro to test for drivers that have separate
configuration symbols for the full U-boot, SPL and TPL stages.
Instead of explicitly repeating them in two separate if-guarded
sections of the Makefile, we can now simply list these options once.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/Makefile