diff mbox

[U-Boot,v3,39/62] sandbox: Don't bring in the eeprom emulator in SPL

Message ID 1467655123-29441-40-git-send-email-sjg@chromium.org
State Accepted
Commit 2c9dfb5807bfbf97b60481586d5db3c677cba65b
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass July 4, 2016, 5:58 p.m. UTC
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>
---

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(+)

Comments

Simon Glass July 15, 2016, 3:59 a.m. UTC | #1
On 4 July 2016 at 11:58, Simon Glass <sjg@chromium.org> wrote:
> 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>
> ---
>
> 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(+)

Applied to u-boot-dm
diff mbox

Patch

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