]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: gateworks: venice: rename eeprom_init
authorTim Harvey <tharvey@gateworks.com>
Thu, 11 Aug 2022 19:04:01 +0000 (12:04 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 20 Oct 2022 15:35:51 +0000 (17:35 +0200)
rename eeprom_init to avoid build failure when using CMD_EEPROM.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/venice/eeprom.c
board/gateworks/venice/eeprom.h
board/gateworks/venice/spl.c
board/gateworks/venice/venice.c

index ac52cc0a9ec98a9a333afc85d2bf327a46ad256c..6aea60ad05c79eaf3ef094879f8a69aaca502d92 100644 (file)
@@ -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;
index 8ea7318d7dfc3d05d3d3ad271f6ca21ef6ab1c19..bb7a5fa9ad1f96ecd64c3b19f0e199c6623aff5c 100644 (file)
@@ -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);
index 4c0feb4381c9f2e54bd3dd386166c4755ed4386c..404c4fa4963883c1ffd75ab57b76ca5da5f64dd8 100644 (file)
@@ -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();
index 32b25ffd3edf16557bc46299f907580efe4110aa..d94f6b8a577d9796b10c34b4191cda916f3b1bd0 100644 (file)
@@ -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();