mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
initcall: Support manual relocation
Move the manual-relocation code to the initcall file. Make sure to avoid manually relocating event types. Only true function pointers should be relocated. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -35,4 +35,11 @@ typedef int (*init_fnc_t)(void);
|
||||
*/
|
||||
int initcall_run_list(const init_fnc_t init_sequence[]);
|
||||
|
||||
/**
|
||||
* initcall_manual_reloc() - Do manual relocation on an initcall sequence
|
||||
*
|
||||
* @init_sequence: NULL-terminated init sequence to relocate
|
||||
*/
|
||||
void initcall_manual_reloc(init_fnc_t init_sequence[]);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user