projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sf: Warn to use BAR for > 16MiB flashes
[platform/kernel/u-boot.git]
/
drivers
/
mtd
/
spi
/
Makefile
diff --git
a/drivers/mtd/spi/Makefile
b/drivers/mtd/spi/Makefile
index
57112af
..
90f8392
100644
(file)
--- a/
drivers/mtd/spi/Makefile
+++ b/
drivers/mtd/spi/Makefile
@@
-25,6
+25,10
@@
include $(TOPDIR)/config.mk
LIB := $(obj)libspi_flash.o
+ifdef CONFIG_SPL_BUILD
+COBJS-$(CONFIG_SPL_SPI_LOAD) += spi_spl_load.o
+endif
+
COBJS-$(CONFIG_SPI_FLASH) += spi_flash.o
COBJS-$(CONFIG_SPI_FLASH_ATMEL) += atmel.o
COBJS-$(CONFIG_SPI_FLASH_EON) += eon.o