diff options
author | Tom Rini <trini@konsulko.com> | 2021-08-17 21:01:22 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-17 21:02:15 -0400 |
commit | 9bbda55c4a4229270d7e2e74080b63adaa63cb04 (patch) | |
tree | b08e681987b67bf43ecb1f1c6a582113d2921698 | |
parent | 78e786decb6c8783568044c98891e64289cbf59c (diff) | |
download | u-boot-TEST/i2c-option-check.zip u-boot-TEST/i2c-option-check.tar.gz u-boot-TEST/i2c-option-check.tar.bz2 |
TEST: What is !DM_I2C and !SYS_LEGACY_I2CTEST/i2c-option-check
Signed-off-by: Tom Rini <trini@konsulko.com>
# Conflicts:
# cmd/i2c.c
-rw-r--r-- | cmd/eeprom.c | 2 | ||||
-rw-r--r-- | cmd/i2c.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cmd/eeprom.c b/cmd/eeprom.c index efd6f3a..a9e953f 100644 --- a/cmd/eeprom.c +++ b/cmd/eeprom.c @@ -28,7 +28,7 @@ #include <linux/delay.h> #ifndef CONFIG_SYS_I2C_SPEED -#define CONFIG_SYS_I2C_SPEED 50000 +#error "no speed" #endif #ifndef CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS @@ -210,6 +210,7 @@ void i2c_init_board(void) * Returns I2C bus speed in Hz. */ #if !defined(CONFIG_SYS_I2C_LEGACY) && !CONFIG_IS_ENABLED(DM_I2C) +#error "The hell is this" /* * TODO: Implement architecture-specific get/set functions * Should go away, if we switched completely to new multibus support |