Message ID | 1418226957-7232-7-git-send-email-sjg@chromium.org |
---|---|
State | Accepted |
Delegated to: | Simon Glass |
Headers | show |
On 10 December 2014 at 08:55, Simon Glass <sjg@chromium.org> wrote: > Enable the options to bring up I2C on sandbox. Also enable all the available > I2C commands for testing purposes. > > Signed-off-by: Simon Glass <sjg@chromium.org> > Acked-by: Heiko Schocher <hs@denx.de> Applied to u-boot-dm. > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > include/configs/sandbox.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h > index 2b03841..657f751 100644 > --- a/include/configs/sandbox.h > +++ b/include/configs/sandbox.h > @@ -112,6 +112,12 @@ > #define CONFIG_SPI_FLASH_STMICRO > #define CONFIG_SPI_FLASH_WINBOND > > +#define CONFIG_DM_I2C > +#define CONFIG_CMD_I2C > +#define CONFIG_SYS_I2C_SANDBOX > +#define CONFIG_I2C_EDID > +#define CONFIG_I2C_EEPROM > + > /* Memory things - we don't really want a memory test */ > #define CONFIG_SYS_LOAD_ADDR 0x00000000 > #define CONFIG_SYS_MEMTEST_START 0x00100000 > -- > 2.2.0.rc0.207.ga3a616c >
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 2b03841..657f751 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -112,6 +112,12 @@ #define CONFIG_SPI_FLASH_STMICRO #define CONFIG_SPI_FLASH_WINBOND +#define CONFIG_DM_I2C +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C_SANDBOX +#define CONFIG_I2C_EDID +#define CONFIG_I2C_EEPROM + /* Memory things - we don't really want a memory test */ #define CONFIG_SYS_LOAD_ADDR 0x00000000 #define CONFIG_SYS_MEMTEST_START 0x00100000