diff options
Diffstat (limited to 'board/goldelico/gta04/gta04.c')
-rw-r--r-- | board/goldelico/gta04/gta04.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/board/goldelico/gta04/gta04.c b/board/goldelico/gta04/gta04.c index 22c6f77..858e699 100644 --- a/board/goldelico/gta04/gta04.c +++ b/board/goldelico/gta04/gta04.c @@ -38,25 +38,10 @@ #include <asm/arch/sys_proto.h> #include <asm/arch/gpio.h> #include <asm/mach-types.h> -// #include "../../ti/beagle/beagle.h" #include "gta04.h" -#define TWL4030_I2C_BUS 0 -#define EXPANSION_EEPROM_I2C_BUS 1 -#define EXPANSION_EEPROM_I2C_ADDRESS 0x50 -#define BEAGLE_NO_EEPROM 0xffffffff - -static struct { - unsigned int device_vendor; - unsigned char revision; - unsigned char content; - char fab_revision[8]; - char env_var[16]; - char env_setting[64]; -} expansion_config; - -#if 1 /* testing tool; you can call notify() anywhere even before initialization */ +#if 1 /* testing tool; you can call notify() anywhere even before initialization to see how far the code comes */ /****************************************************************************** * Routine: delay @@ -78,7 +63,6 @@ static inline void myudelay(unsigned long us) void notify(int number) { // flash LCD backlight - int i; BLOFF(); myudelay(200*1000); BLON(); @@ -149,17 +133,6 @@ int get_board_revision(void) } /* - * Routine: get_expansion_id - * Description: This function checks for expansion board by checking I2C - * bus 1 for the availability of an AT24C01B serial EEPROM. - * returns the device_vendor field from the EEPROM - */ -unsigned int get_expansion_id(void) -{ - return BEAGLE_NO_EEPROM; -} - -/* * Routine: misc_init_r * Description: Configure board specific parts */ |