fix(lx2): init global data before using it

Need to initialize global data firstly.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Change-Id: I18c3ccc2d0c8175bf479889aa03bc1f737df678b
This commit is contained in:
Jiafei Pan 2022-06-10 11:47:15 +08:00
parent c0c157a680
commit 50aa0ea7ac

View file

@ -451,8 +451,8 @@ void soc_init(void)
/* low-level init of the soc */
soc_init_start();
soc_init_percpu();
_init_global_data();
soc_init_percpu();
_initialize_psci();
if (ccn_get_part0_id(NXP_CCN_ADDR) != CCN_508_PART0_ID) {