aboutsummaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorCamelia Groza <camelia.groza@nxp.com>2021-06-11 15:28:08 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2021-06-17 11:46:11 +0530
commit13ea307f799ba76164354325a0c76c11b7b9c494 (patch)
tree83a43c11ad70de1a5b33ca46161392013a92f0bd /board/freescale
parent4e21a555c1dc2eacee9e3ad07f3b112c20b0f7a2 (diff)
downloadu-boot-13ea307f799ba76164354325a0c76c11b7b9c494.zip
u-boot-13ea307f799ba76164354325a0c76c11b7b9c494.tar.gz
u-boot-13ea307f799ba76164354325a0c76c11b7b9c494.tar.bz2
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>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/t208xrdb/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/t208xrdb/Kconfig b/board/freescale/t208xrdb/Kconfig
index 6f0b012..8249c5d 100644
--- a/board/freescale/t208xrdb/Kconfig
+++ b/board/freescale/t208xrdb/Kconfig
@@ -9,6 +9,10 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "T208xRDB"
+config T2080RDB_REV_D
+ bool "Support for T2080RDB revisions D and up"
+ default n
+
source "board/freescale/common/Kconfig"
endif