]> git.baikalelectronics.ru Git - uboot.git/commit
fsl-layerscape: Move GIC RD tables init to soc.c
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Tue, 28 Apr 2020 02:19:32 +0000 (10:19 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 28 Apr 2020 12:16:46 +0000 (17:46 +0530)
commitbad13e6aad355a12be9ae68cb26563795650e30f
treed818a7700d030056bfcabd697ff2fb4126a956df
parentb4f1bec4169af79b0ed91649c227f06e81e8115f
fsl-layerscape: Move GIC RD tables init to soc.c

Move GIC redistributor tables initialization to CPU setup function.

This patch introduces a GIC redistributor tables init function, and
moves the function of reserving memory for GIC redistributor tables
to soc.c and adds a argument for the memory size to reserve, BTW
rename the function so that it is more readable.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Wasim Khan <wasim.khan@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/include/asm/arch-fsl-layerscape/soc.h
board/freescale/lx2160a/lx2160a.c