diff options
| author | Simon Glass <[email protected]> | 2019-11-14 12:57:50 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-12-02 18:25:25 -0500 |
| commit | cb3ef6810a27c8ddf5db8694bcef9337f27d12ce (patch) | |
| tree | 9ef10a73bda6de409282c9021026957efa598c6a /drivers | |
| parent | 533cee0a9cdccc9c65959bf2d41c3c7eb12e13f2 (diff) | |
common: Move old EEPROM functions into a new header
These functions do not use driver model but are still used. Move them to a
new eeprom.h header file.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/misc/i2c_eeprom.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/mw_eeprom.c | 1 | ||||
| -rw-r--r-- | drivers/rtc/rv3029.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c index 8f2349ad5a7..3755dbf74bb 100644 --- a/drivers/misc/i2c_eeprom.c +++ b/drivers/misc/i2c_eeprom.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <eeprom.h> #include <linux/err.h> #include <linux/kernel.h> #include <dm.h> diff --git a/drivers/mtd/mw_eeprom.c b/drivers/mtd/mw_eeprom.c index f7791b51a04..6a3a6f67518 100644 --- a/drivers/mtd/mw_eeprom.c +++ b/drivers/mtd/mw_eeprom.c @@ -1,6 +1,7 @@ /* Three-wire (MicroWire) serial eeprom driver (for 93C46 and compatibles) */ #include <common.h> +#include <eeprom.h> #include <asm/ic/ssi.h> /* diff --git a/drivers/rtc/rv3029.c b/drivers/rtc/rv3029.c index 38acb9c9924..23670627770 100644 --- a/drivers/rtc/rv3029.c +++ b/drivers/rtc/rv3029.c @@ -10,6 +10,7 @@ #include <common.h> #include <command.h> #include <dm.h> +#include <eeprom.h> #include <i2c.h> #include <rtc.h> |
