mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
sparc: Update PROM initialization code for generic board
Fixed the prom_relocate() function in start.S file by reserving memory in the board_init_f sequence and saving the offset to the __prom_start_reloc variable. This value is used as the destination when relocating the PROM. Add the prom_init() function to the end of the board_init_r sequence. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
This commit is contained in:
@@ -66,6 +66,10 @@
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#if defined(CONFIG_SPARC)
|
||||
extern int prom_init(void);
|
||||
#endif
|
||||
|
||||
ulong monitor_flash_len;
|
||||
|
||||
__weak int board_flash_wp_on(void)
|
||||
@@ -933,6 +937,9 @@ init_fnc_t init_sequence_r[] = {
|
||||
#endif
|
||||
#ifdef CONFIG_PS2KBD
|
||||
initr_kbd,
|
||||
#endif
|
||||
#if defined(CONFIG_SPARC)
|
||||
prom_init,
|
||||
#endif
|
||||
run_main_loop,
|
||||
};
|
||||
|
Reference in New Issue
Block a user