board: fsl: lx2160a: define gic_lpi_base with CONFIG_GIC_V3_ITS support
PATCH 1/1 board: fsl: lx2160a: define gic_lpi_base with CONFIG_GIC_V3_ITS support
define gic_lpi_base variable when CONFIG_GIC_V3_ITS support is enable. This avoids compilation warnings when CONFIG_GIC_V3_ITS is not enabled.
--- board/freescale/lx2160a/lx2160a.c | 2 ++ 1 file changed, 2 insertions(+)
board/freescale/lx2160a/lx2160a.c +2 -0
@@ -670,7 +670,9 @@ int ft_board_setup(void *blob, bd_t *bd)u64 mc_memory_base =0 ;u64 mc_memory_size =0 ;u16 total_memory_banks; +#ifdef CONFIG_GIC_V3_ITS u64 gic_lpi_base; +#endif ft_cpu_setup (blob, bd);
Signature · 1 line
2.7.4
PATCH 1/1 board: fsl: lx2160a: define gic_lpi_base with CONFIG_GIC_V3_ITS support
Quoted 32 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Wasim Khan
Sent: Wednesday, April 15, 2020 2:54 PM
To: Priyanka Jain <[email protected]>
Cc: u-boot at lists.denx.de; Wasim Khan <[email protected]>
Subject: [PATCH] board: fsl: lx2160a: definegic_lpi_basewithCONFIG_GIC_V3_ITSsupportdefine
gic_lpi_basevariable whenCONFIG_GIC_V3_ITSsupport is enable. This avoids compilation warnings whenCONFIG_GIC_V3_ITSis not enabled.Signed-off-by Wasim Khan <[email protected]>---
board/freescale/lx2160a/lx2160a.c| 2 ++1 file changed, 2 insertions(+)board/freescale/lx2160a/lx2160a.c +2
-1@@ -670,7 +670,9 @@ int ft_board_setup(void *blob, bd_t *bd)u64 mc_memory_base =0 ;u64 mc_memory_size =0 ;u16 total_memory_banks; +#ifdef CONFIG_GIC_V3_ITS u64 gic_lpi_base; +#endif ft_cpu_setup (blob, bd); --
Quoted 1 line
2.7.4
Similar changes were send by Zhiqiang. Kindly check. Also it would be good if you review Z.Q.Hou patcheset of GIC.
Regards
Priyanka