]> git.sur5r.net Git - u-boot/commitdiff
sandbox: Don't bring in the eeprom emulator in SPL
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:58:19 +0000 (11:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
This driver should not be used in SPL since we do not have I2C support
enabled in SPL on sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/Makefile

index 3eac0245ea894ea2e7d21c5f183dfa8087477a7a..fff6f0cdf95bc1bf5a821d002cd02658bfd3e68b 100644 (file)
@@ -29,8 +29,10 @@ obj-$(CONFIG_PDSP188x) += pdsp188x.o
 obj-$(CONFIG_$(SPL_)PWRSEQ) += pwrseq-uclass.o
 obj-$(CONFIG_SANDBOX) += sysreset_sandbox.o
 ifdef CONFIG_DM_I2C
+ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_SANDBOX) += i2c_eeprom_emul.o
 endif
+endif
 obj-$(CONFIG_SMSC_LPC47M) += smsc_lpc47m.o
 obj-$(CONFIG_SMSC_SIO1007) += smsc_sio1007.o
 obj-$(CONFIG_STATUS_LED) += status_led.o