diff options
-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 |