MLK-20945-6 spl: Fix DM_SPI_FLASH build error in SPL
authorYe Li <ye.li@nxp.com>
Tue, 19 Feb 2019 08:13:41 +0000 (00:13 -0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:19 +0000 (04:28 -0700)
SPL should not use DM_SPI_FLASH, this is already cleaned in
Makefile.uncmd_spl, but not in config_uncmd_spl.h

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit cf8468482ec3cceb05700a326df044dc41f38793)

include/config_uncmd_spl.h

index e760200..83e5f70 100644 (file)
@@ -15,6 +15,7 @@
 #undef CONFIG_DM_GPIO
 #undef CONFIG_DM_I2C
 #undef CONFIG_DM_SPI
+#undef CONFIG_DM_SPI_FLASH
 #undef CONFIG_DM_USB
 #endif