]> git.baikalelectronics.ru Git - uboot.git/commit
dfu: Make DFU support more SPL friendly
authorAndrew F. Davis <afd@ti.com>
Thu, 17 Jan 2019 19:43:03 +0000 (13:43 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 26 Jan 2019 13:13:55 +0000 (08:13 -0500)
commitf24ad2ff20d47a73ba81f759d14aad314a035de2
tree1ac6f7e8bb9491f041c8f26579cac5bb6f763d4b
parent82d7be3e43e3dd7145ac06b36fe229ed58fdd7e3
dfu: Make DFU support more SPL friendly

Do this by using $(SPL_) in Makefiles and CONFIG_IS_ENABLED in C code.
This ensures the files and features are only built into the right build
for which they are enabled. Using the macros to simplify this patch was
made possible by the config symbol rename done in the last patch.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Lukasz Majewski <lukma@denx.de>
drivers/Makefile
drivers/dfu/Makefile
include/dfu.h