mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
event: fix static events for CONFIG_NEEDS_MANUAL_RELOC
Static events do not currently work post-relocation for boards that enable CONFIG_NEEDS_MANUAL_RELOC. Relocate event handler pointers for all event spies to fix this. Tested on Microblaze. Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
This commit is contained in:
@@ -612,6 +612,9 @@ static init_fnc_t init_sequence_r[] = {
|
||||
*/
|
||||
#endif
|
||||
initr_reloc_global_data,
|
||||
#if CONFIG_IS_ENABLED(NEEDS_MANUAL_RELOC) && CONFIG_IS_ENABLED(EVENT)
|
||||
event_manual_reloc,
|
||||
#endif
|
||||
#if defined(CONFIG_SYS_INIT_RAM_LOCK) && defined(CONFIG_E500)
|
||||
initr_unlock_ram_in_cache,
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user