mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
fix(neoverse-rd): initialize timer before use in smmuv3_poll
Commit a6485b2
("refactor(delay-timer): add timer callback
functions") introduced a requirement for timer-related APIs
to have a timer object initialized before use. This caused
assertion failures in SMMU routines on Neoverse platforms,
as they relied on timer APIs.
Resolve this issue by initializing the timer early during
platform boot to set up the timer_ops object properly.
Change-Id: I3d9ababdb7897185f23e9ccf982b9aab6c666b8c
Signed-off-by: Sammit Joshi <sammit.joshi@arm.com>
This commit is contained in:
parent
3951baa6a6
commit
64ff172abe
1 changed files with 3 additions and 1 deletions
|
@ -152,6 +152,9 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
|||
nrd_plat_info.config_id = plat_arm_nrd_get_config_id();
|
||||
nrd_plat_info.multi_chip_mode = plat_arm_nrd_get_multi_chip_mode();
|
||||
|
||||
/* Initialize generic timer */
|
||||
generic_delay_timer_init();
|
||||
|
||||
arm_bl31_early_platform_setup((void *)arg0, arg1, arg2, (void *)arg3);
|
||||
}
|
||||
|
||||
|
@ -216,7 +219,6 @@ static int append_config_node(uintptr_t fdt_base_addr, uintptr_t fdt_base_size)
|
|||
|
||||
void nrd_bl31_common_platform_setup(void)
|
||||
{
|
||||
generic_delay_timer_init();
|
||||
|
||||
arm_bl31_platform_setup();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue