]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Audit usage of <eeprom.h>
authorTom Rini <trini@konsulko.com>
Wed, 1 May 2024 02:40:49 +0000 (20:40 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:07:48 +0000 (15:07 -0600)
The file include/eeprom.h is used only in some legacy non-DM I2C EEPROM
access cases. Remove most inclusions of this file as they are not
needed.

Signed-off-by: Tom Rini <trini@konsulko.com>
board/atmel/common/mac_eeprom.c
board/compulab/common/eeprom.c
board/cssi/cmpcpro/cmpcpro.c
board/dhelectronics/dh_imx6/dh_imx6.c
board/phytec/phycore_rk3288/phycore-rk3288.c
board/rockchip/tinker_rk3288/tinker-rk3288.c
board/ti/am43xx/board.c
board/ti/common/board_detect.c
board/ti/ks2_evm/board_k2g.c
drivers/misc/i2c_eeprom.c
drivers/rtc/rv3029.c

index 4606008c697f1fb16df501ea84116f9a91c4c30f..e3ab78fb895b4e514cb5362c26cf0e87dcace1ae 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <env.h>
 #include <i2c_eeprom.h>
 #include <net.h>
index c4b257f851d664ae451c9fad5f6c5a8bf9f5d19b..4c752821d6cdddcb6bcd385e0f2e975f46758b9b 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <common.h>
-#include <eeprom.h>
 #include <i2c.h>
 #include <eeprom_layout.h>
 #include <eeprom_field.h>
index ef304124564950b77ad23116b4d2d2a4430a87db..ec13d9a7ed7dee7283057bb3a06debd6d673e844 100644 (file)
@@ -7,7 +7,6 @@
 #include <dm.h>
 #include <env.h>
 #include <env_internal.h>
-#include <eeprom.h>
 #include <fdt_support.h>
 #include <hang.h>
 #include <ioports.h>
index 0676587c38a1058807c36328f3bea7ab1dc05629..9dcfcec9e9e6ce512884af6a3f9165eb23dd101c 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <image.h>
 #include <init.h>
 #include <net.h>
index 3f49f39e3d5ddc80fa629e7d84c9cd4d023ea59c..1ddb4a4f80855be778b457dd91cea1ba30889d43 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Wadim Egorov <w.egorov@phytec.de>
  */
 
-#include <eeprom.h>
 #include <init.h>
 #include <log.h>
 #include <net.h>
index eff3a00c30a81662274a1df9ea1029e21441006a..e6e75981c2d10803482d446830e3ab965de6d742 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <env.h>
 #include <i2c_eeprom.h>
 #include <init.h>
index a4679a2e29489ee850a71295d99de03d87240b85..fdeb63d479000d36644f192375b7f1996b03df49 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <common.h>
-#include <eeprom.h>
 #include <asm/global_data.h>
 #include <dm/uclass.h>
 #include <env.h>
index 38e23ccbb67ce6b9ea636bafaf6e16261e80089a..644df3b0b6ab829a729099e954ba86e5ca4a2acd 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <common.h>
-#include <eeprom.h>
 #include <log.h>
 #include <net.h>
 #include <asm/arch/hardware.h>
index 5229afad63b0e8149ee96445fb6c6df30736becd..4fed42ec12440de285f4db299989d6281aa36a1c 100644 (file)
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 #include <common.h>
-#include <eeprom.h>
 #include <env.h>
 #include <hang.h>
 #include <image.h>
index 9111bd724cbbfb097460e4bae87343254d60143a..9cb375a99ab84385371e0349aae48b9e0fc1e5f6 100644 (file)
@@ -6,7 +6,6 @@
 #define LOG_CATEGORY UCLASS_I2C_EEPROM
 
 #include <common.h>
-#include <eeprom.h>
 #include <linux/delay.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
index 3afe5b2fdd678568b847c3606cd925f38d65897a..9c53c7f7dbc7d3ddc1ad5236c9ab9594577f4a38 100644 (file)
@@ -10,7 +10,6 @@
 #include <common.h>
 #include <command.h>
 #include <dm.h>
-#include <eeprom.h>
 #include <i2c.h>
 #include <log.h>
 #include <rtc.h>