]> git.dujemihanovic.xyz Git - u-boot.git/commit
event: fix static events for CONFIG_NEEDS_MANUAL_RELOC
authorOvidiu Panait <ovpanait@gmail.com>
Sun, 15 May 2022 18:40:29 +0000 (21:40 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 22:01:20 +0000 (18:01 -0400)
commitcebc8161708e357758c407eaa79a8cd66ee68fde
treed48954c6b4b3c371a700114b17bba8d1978dddd5
parent12c90955a7e82687acaed3cb53d096bc669e82ca
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>
common/board_r.c
common/event.c
include/event.h