From: Wasim Khan Date: Wed, 15 Apr 2020 14:53:51 +0530 Subject: [PATCH] board: fsl: lx2160a: define gic_lpi_base with CONFIG_GIC_V3_ITS support Message-ID: <1586942631-25531-1-git-send-email-wasim.khan@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Signed-off-by: Wasim Khan --- board/freescale/lx2160a/lx2160a.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/lx2160a.c index 4b20bb4..a8c45b9 100644 --- a/board/freescale/lx2160a/lx2160a.c +++ b/board/freescale/lx2160a/lx2160a.c @@ -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); -- 2.7.4