BL2U: Fix ARM platform timer initilization
authorSoby Mathew <soby.mathew@arm.com>
Tue, 6 Mar 2018 15:22:55 +0000 (15:22 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Wed, 7 Mar 2018 17:25:28 +0000 (17:25 +0000)
commit74847ab203ca1801b450d32a61f3a3cb98adf83b
tree2491b035d77513729342113de4bcb9d9151f3b3e
parentdbf9f283163e1575fbcd25a64c2313771dfe3bb4
BL2U: Fix ARM platform timer initilization

This issue was detected when testing FWU on Juno. The Timer
`timer_ops` was not being initialized before being used by
the SDS driver on Juno. This patch adds the call to
`generic_delay_timer_init()` during bl2u_early_platform_setup().
This is done generically for all ARM platforms because the
cost involved is minimal.

Change-Id: I349cf0bd1db68406eb2298b65f9c729f792cabdc
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
plat/arm/common/arm_bl2u_setup.c