Skip to content

Commit

Permalink
elfloader: Remove non_boot_init() interface
Browse files Browse the repository at this point in the history
This was previously added to handle per-core initialization of the
generic timer. Now that a generic driver mechanism is used to perform
this initialization the old interface is redundant.

Signed-off-by: Kent McLeod <[email protected]>
  • Loading branch information
kent-mcleod authored and Indanz committed Feb 19, 2024
1 parent 4970c3b commit 02f1eee
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions elfloader-tool/src/arch-arm/smp_boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ void arm_disable_dcaches(void);
extern void const *dtb;
extern uint32_t dtb_size;

WEAK void non_boot_init(void) {}

/* Entry point for all CPUs other than the initial. */
void non_boot_main(void)
{
Expand All @@ -41,9 +39,6 @@ void non_boot_main(void)
#endif
}

/* Initialise any platform-specific per-core state */
non_boot_init();

/* Do any driver specific non_boot core init */
initialise_devices_non_boot();

Expand Down

0 comments on commit 02f1eee

Please sign in to comment.