imx: add imx8x capricorn giedi board
[oweals/u-boot.git] / include / common.h
index 64d0cf542e8387499cf4fe02651e3c02d2e9b807..52c02185f40e0ead25d761ed1c685a56de33f74a 100644 (file)
@@ -15,7 +15,6 @@
 
 #ifndef __ASSEMBLY__           /* put C only stuff in this section */
 
-typedef unsigned char          uchar;
 typedef volatile unsigned long vu_long;
 typedef volatile unsigned short vu_short;
 typedef volatile unsigned char vu_char;
@@ -116,21 +115,6 @@ phys_size_t get_effective_memsize(void);
 void   reset_phy     (void);
 void   fdc_hw_init   (void);
 
-/* $(BOARD)/eeprom.c */
-#ifdef CONFIG_CMD_EEPROM
-void eeprom_init  (int bus);
-int  eeprom_read  (unsigned dev_addr, unsigned offset, uchar *buffer, unsigned cnt);
-int  eeprom_write (unsigned dev_addr, unsigned offset, uchar *buffer, unsigned cnt);
-#else
-/*
- * Some EEPROM code is depecated because it used the legacy I2C interface. Add
- * some macros here so we don't have to touch every one of those uses
- */
-#define eeprom_init(bus)
-#define eeprom_read(dev_addr, offset, buffer, cnt) ((void)-ENOSYS)
-#define eeprom_write(dev_addr, offset, buffer, cnt) ((void)-ENOSYS)
-#endif
-
 #if !defined(CONFIG_ENV_EEPROM_IS_ON_I2C) && defined(CONFIG_SYS_I2C_EEPROM_ADDR)
 # define CONFIG_SYS_DEF_EEPROM_ADDR CONFIG_SYS_I2C_EEPROM_ADDR
 #endif