mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-20 10:53:08 +00:00
dm: i2c: config: Enable I2C for sandbox using driver model
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>
This commit is contained in:
parent
6ec1b75358
commit
ac395f088f
@ -112,6 +112,12 @@
|
|||||||
#define CONFIG_SPI_FLASH_STMICRO
|
#define CONFIG_SPI_FLASH_STMICRO
|
||||||
#define CONFIG_SPI_FLASH_WINBOND
|
#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 */
|
/* Memory things - we don't really want a memory test */
|
||||||
#define CONFIG_SYS_LOAD_ADDR 0x00000000
|
#define CONFIG_SYS_LOAD_ADDR 0x00000000
|
||||||
#define CONFIG_SYS_MEMTEST_START 0x00100000
|
#define CONFIG_SYS_MEMTEST_START 0x00100000
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user