pfla02: Rework excluding NAND from SPL
authorTom Rini <trini@konsulko.com>
Tue, 26 May 2020 19:06:12 +0000 (15:06 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 4 Jun 2020 19:05:45 +0000 (15:05 -0400)
commit049756c2fee45bc4bc9054dbe024c3c80584b446
tree4074e60c0cb725d61fee8ab8bedde597177af62b
parent4cc24aeaf420f33f7ee92f76e025a86fc9aaefec
pfla02: Rework excluding NAND from SPL

Rather than only enable CONFIG_CMD_NAND for non-SPL builds, move the CMD
options to defconfig and rework the guards to not try and call the
function in SPL builds.

Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Stefano Babic <sbabic@denx.de>
board/phytec/pfla02/pfla02.c
configs/pfla02_defconfig
include/configs/pfla02.h