]> git.dujemihanovic.xyz Git - u-boot.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)
commit13ea307f799ba76164354325a0c76c11b7b9c494
tree83a43c11ad70de1a5b33ca46161392013a92f0bd
parent4e21a555c1dc2eacee9e3ad07f3b112c20b0f7a2
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]