summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-04 11:58:19 -0600
committerSimon Glass <sjg@chromium.org>2016-07-14 20:40:24 -0600
commit2c9dfb5807bfbf97b60481586d5db3c677cba65b (patch)
treec66d6fe3bb475ae9342bbc0a5c5c16c09416478e /drivers/misc
parent9fa28190091e59b7c9b9ba32e5a81fa432c485b6 (diff)
downloadu-boot-imx-2c9dfb5807bfbf97b60481586d5db3c677cba65b.zip
u-boot-imx-2c9dfb5807bfbf97b60481586d5db3c677cba65b.tar.gz
u-boot-imx-2c9dfb5807bfbf97b60481586d5db3c677cba65b.tar.bz2
sandbox: Don't bring in the eeprom emulator in SPL
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 3eac024..fff6f0c 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -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