From: Simon Glass Date: Mon, 4 Jul 2016 11:58:19 -0600 Subject: [U-Boot] [PATCH v3 39/62] sandbox: Don't bring in the eeprom emulator in SPL In-Reply-To: <1467655123-29441-1-git-send-email-sjg@chromium.org> References: <1467655123-29441-1-git-send-email-sjg@chromium.org> Message-ID: <1467655123-29441-40-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- Changes in v3: - Add new patch to avoid bringing in the eeprom emulator in SPL Changes in v2: None drivers/misc/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.8.0.rc3.226.g39d4020