]> git.baikalelectronics.ru Git - uboot.git/commit
board: freescale: t208xrdb: add a config option for rev D dts fixups
authorCamelia Groza <camelia.groza@nxp.com>
Fri, 11 Jun 2021 12:28:08 +0000 (15:28 +0300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 17 Jun 2021 06:16:11 +0000 (11:46 +0530)
commit346db9b2f6a6abb3380d674ff59c54afb2588237
tree83a43c11ad70de1a5b33ca46161392013a92f0bd
parent9ad24e3eb3c2b5b9c36373e148f41ac79a8fcce6
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>
arch/powerpc/dts/t2080rdb.dts
board/freescale/t208xrdb/Kconfig
configs/T2080RDB_revD_NAND_defconfig [new file with mode: 0644]
configs/T2080RDB_revD_SDCARD_defconfig [new file with mode: 0644]
configs/T2080RDB_revD_SPIFLASH_defconfig [new file with mode: 0644]
configs/T2080RDB_revD_defconfig [new file with mode: 0644]