[PATCH 1/2] common: add prototype for populate_serial_number()
Artur Rojek
artur at conclusive.pl
Thu Sep 21 17:37:19 CEST 2023
Provide function prototype for populate_serial_number().
This is useful for boards that wish to read their serial number from
EEPROM at init.
Signed-off-by: Artur Rojek <artur at conclusive.pl>
---
include/init.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/init.h b/include/init.h
index 3bf30476a2e0..e0b7fbc943ad 100644
--- a/include/init.h
+++ b/include/init.h
@@ -283,6 +283,7 @@ void board_init_r(struct global_data *id, ulong dest_addr)
int cpu_init_r(void);
int last_stage_init(void);
int mac_read_from_eeprom(void);
+int populate_serial_number(int devnum);
int set_cpu_clk_info(void);
int update_flash_size(int flash_size);
int arch_early_init_r(void);
--
2.42.0
More information about the U-Boot
mailing list