Dear Pankaj > -----Original Message----- > From: Pankaj Bansal > Sent: Wednesday, July 17, 2019 3:54 PM > To: Prabhakar Kushwaha <prabhakar.kushw...@nxp.com>; Meenakshi > Aggarwal <meenakshi.aggar...@nxp.com> > Cc: Varun Sethi <v.se...@nxp.com>; u-boot@lists.denx.de > Subject: [PATCH v2] board: fsl: lx2160a: implement board_fix_fdt > > In lx2160a rev2 the pcie controller has been changed. > Therefore, we need to change the device tree nodes of pcie controllers so that > new controller can be probed. > It involves changing the "compatible" field as well as registers names'. > we are keeping same device tree for lx2160a rev1 and rev2, therefore we > change the device tree nodes as part of fdt fixups. > These changes would only be applied if the soc revision is not rev1. > > Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com> > --- > > Notes: > V2: > - explained the patch requirements and patch changes. > > board/freescale/lx2160a/lx2160a.c | 67 +++++++++++++++++++++++++++++ > configs/lx2160aqds_tfa_defconfig | 1 + configs/lx2160ardb_tfa_defconfig | > 1 > +
I am seeing compilation warning with your patch. Please fix it --pk board/freescale/lx2160a/lx2160a.c: In function 'board_fix_fdt': board/freescale/lx2160a/lx2160a.c:143:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] reg_names = fdt_getprop(fdt, off, "reg-names", &names_len); _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot