
-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Heinrich Schuchardt Sent: Saturday, April 11, 2020 2:27 PM To: Priyanka Jain priyanka.jain@nxp.com Cc: u-boot@lists.denx.de; Ilias Apalodimas ilias.apalodimas@linaro.org; Heinrich Schuchardt xypron.glpk@gmx.de Subject: [PATCH 1/1] board: fsl: lx2160a: unused variable gic_lpi_base
If the board is configured without CONFIG_GIC_V3_ITS, an error occurs:
board/freescale/lx2160a/lx2160a.c: In function ‘ft_board_setup’: board/freescale/lx2160a/lx2160a.c:673:6: error: unused variable ‘gic_lpi_base’ [-Werror=unused-variable] 673 | u64 gic_lpi_base; | ^~~~~~~~~~~~
Let's define the variable as __maybe_unused.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
Applied to fsl-qoriq. Awaiting upstream.
Thanks Priyanka