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 <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass
2019-11-14 12:57:50 -07:00
committed by Tom Rini
parent 533cee0a9c
commit cb3ef6810a
19 changed files with 41 additions and 15 deletions

View File

@@ -6,6 +6,7 @@
#include <common.h>
#include <dm.h>
#include <eeprom.h>
#include <env.h>
#include <i2c_eeprom.h>
#include <netdev.h>

View File

@@ -7,6 +7,7 @@
*/
#include <common.h>
#include <eeprom.h>
#include <i2c.h>
#include <eeprom_layout.h>
#include <eeprom_field.h>

View File

@@ -5,6 +5,7 @@
* Andreas Bießmann <andreas.biessmann@corscience.de>
*/
#include <common.h>
#include <eeprom.h>
#include <i2c.h>
#include <u-boot/crc.h>

View File

@@ -7,6 +7,7 @@
#include <common.h>
#include <dm.h>
#include <eeprom.h>
#include <init.h>
#include <dm/device-internal.h>
#include <asm/arch/clock.h>

View File

@@ -10,6 +10,7 @@
*/
#include <common.h>
#include <eeprom.h>
#include <env.h>
#include <init.h>
#include <ioports.h>

View File

@@ -7,6 +7,7 @@
#include <common.h>
#include <dm.h>
#include <eeprom.h>
#include <init.h>
#include <dm/device-internal.h>
#include <ahci.h>

View File

@@ -4,6 +4,7 @@
* Author: Wadim Egorov <w.egorov@phytec.de>
*/
#include <eeprom.h>
#include <init.h>
#include <asm/io.h>
#include <common.h>

View File

@@ -5,6 +5,7 @@
#include <common.h>
#include <dm.h>
#include <eeprom.h>
#include <env.h>
#include <i2c_eeprom.h>
#include <init.h>

View File

@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <eeprom.h>
#include <env.h>
#include <init.h>
#include <status_led.h>

View File

@@ -8,6 +8,7 @@
*/
#include <common.h>
#include <eeprom.h>
#include <env.h>
#include <i2c.h>
#include <init.h>

View File

@@ -8,6 +8,7 @@
*/
#include <common.h>
#include <eeprom.h>
#include <asm/arch/hardware.h>
#include <asm/omap_common.h>
#include <dm/uclass.h>

View File

@@ -6,6 +6,7 @@
* Texas Instruments Incorporated, <www.ti.com>
*/
#include <common.h>
#include <eeprom.h>
#include <env.h>
#include <init.h>
#include <asm/arch/clock.h>