aboutsummaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:50 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:25:25 -0500
commitcb3ef6810a27c8ddf5db8694bcef9337f27d12ce (patch)
tree9ef10a73bda6de409282c9021026957efa598c6a /board/ti
parent533cee0a9cdccc9c65959bf2d41c3c7eb12e13f2 (diff)
downloadu-boot-cb3ef6810a27c8ddf5db8694bcef9337f27d12ce.zip
u-boot-cb3ef6810a27c8ddf5db8694bcef9337f27d12ce.tar.gz
u-boot-cb3ef6810a27c8ddf5db8694bcef9337f27d12ce.tar.bz2
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>
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/am43xx/board.c1
-rw-r--r--board/ti/common/board_detect.c1
-rw-r--r--board/ti/ks2_evm/board_k2g.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
index 9353830..d12f1eb 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -8,6 +8,7 @@
*/
#include <common.h>
+#include <eeprom.h>
#include <env.h>
#include <i2c.h>
#include <init.h>
diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c
index bc89cc5..564d2f7 100644
--- a/board/ti/common/board_detect.c
+++ b/board/ti/common/board_detect.c
@@ -8,6 +8,7 @@
*/
#include <common.h>
+#include <eeprom.h>
#include <asm/arch/hardware.h>
#include <asm/omap_common.h>
#include <dm/uclass.h>
diff --git a/board/ti/ks2_evm/board_k2g.c b/board/ti/ks2_evm/board_k2g.c
index a0fd03a..920d0d3 100644
--- a/board/ti/ks2_evm/board_k2g.c
+++ b/board/ti/ks2_evm/board_k2g.c
@@ -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>