RE: [PATCHv3 2/8] board: lx2160a: Don't program the GIC RD tables if failed to reserve memory

2020-04-28 Thread Wasim Khan
> -Original Message- > From: Z.q. Hou > Sent: Tuesday, April 28, 2020 7:49 AM > To: u-boot@lists.denx.de; Priyanka Jain ; Wasim Khan > ; bmeng...@gmail.com > Cc: Z.q. Hou > Subject: [PATCHv3 2/8] board: lx2160a: Don't program the GIC RD tables if > failed > to reserve memory > >

[PATCHv3 2/8] board: lx2160a: Don't program the GIC RD tables if failed to reserve memory

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang Program the GIC redistributor tables only when succeeded to reserve memory for them, otherwise kernel will lose the chance to program them using allocated memory. Signed-off-by: Hou Zhiqiang --- V3: - Change the return type to int of fdt_fixup_gic_lpi_memory().