board: freescale: t208xrdb: add a config option for rev D dts fixups
Under DM, we rely on u-boot's device tree to provide the correct PHY addresses. The board_fix_fdt callback is intended to be used for device tree fixups before relocation. Unfortunately, this isn't an option when booting from flash since the device tree isn't writable before relocation. This patch introduces the CONFIG_T2080RDB_REV_D option to signal that a board revision D or up is the target. The config option is used to set the correct Aquantia PHY address in the board's u-boot device tree. Defconfig files with the option enable explicitly are added for convenience. Signed-off-by:Camelia Groza <camelia.groza@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
Showing
- arch/powerpc/dts/t2080rdb.dts 7 additions, 0 deletionsarch/powerpc/dts/t2080rdb.dts
- board/freescale/t208xrdb/Kconfig 4 additions, 0 deletionsboard/freescale/t208xrdb/Kconfig
- configs/T2080RDB_revD_NAND_defconfig 93 additions, 0 deletionsconfigs/T2080RDB_revD_NAND_defconfig
- configs/T2080RDB_revD_SDCARD_defconfig 90 additions, 0 deletionsconfigs/T2080RDB_revD_SDCARD_defconfig
- configs/T2080RDB_revD_SPIFLASH_defconfig 92 additions, 0 deletionsconfigs/T2080RDB_revD_SPIFLASH_defconfig
- configs/T2080RDB_revD_defconfig 77 additions, 0 deletionsconfigs/T2080RDB_revD_defconfig
Loading
Please register or sign in to comment