mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
board: gateworks: venice: rename eeprom_init
rename eeprom_init to avoid build failure when using CMD_EEPROM. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
b872c93beb
commit
37d5bf4287
4 changed files with 4 additions and 4 deletions
|
@ -299,7 +299,7 @@ static int eeprom_info(bool verbose)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int eeprom_init(int quiet)
|
||||
int venice_eeprom_init(int quiet)
|
||||
{
|
||||
char rev_pcb;
|
||||
int rev_bom;
|
||||
|
|
|
@ -24,7 +24,7 @@ struct venice_board_info {
|
|||
u8 chksum[2]; /* 0x4E */
|
||||
};
|
||||
|
||||
int eeprom_init(int quiet);
|
||||
int venice_eeprom_init(int quiet);
|
||||
const char *eeprom_get_model(void);
|
||||
const char *eeprom_get_baseboard_model(void);
|
||||
const char *eeprom_get_dtb_name(int level, char *buf, int len);
|
||||
|
|
|
@ -268,7 +268,7 @@ void board_init_f(ulong dummy)
|
|||
break;
|
||||
mdelay(1);
|
||||
}
|
||||
dram_sz = eeprom_init(0);
|
||||
dram_sz = venice_eeprom_init(0);
|
||||
|
||||
/* PMIC */
|
||||
power_init_board();
|
||||
|
|
|
@ -111,7 +111,7 @@ int board_phy_config(struct phy_device *phydev)
|
|||
|
||||
int board_init(void)
|
||||
{
|
||||
eeprom_init(1);
|
||||
venice_eeprom_init(1);
|
||||
|
||||
if (IS_ENABLED(CONFIG_FEC_MXC))
|
||||
setup_fec();
|
||||
|
|
Loading…
Reference in a new issue