]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Move dts zcu102 to zcu102-revA
authorMichal Simek <michal.simek@xilinx.com>
Thu, 20 Jul 2017 10:38:27 +0000 (12:38 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 2 Aug 2017 07:11:52 +0000 (09:11 +0200)
Not using board revision is causing confusion about which board is
supported and tested. Mark dts files exactly with board revision which
was tested. When new board revision arives it can be symlink if SW view
is the same. Also add -revX suffix to compatible string because user space
tools are parsing this string and can change behavior depends of board
revision.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/Makefile
arch/arm/dts/zynqmp-zcu102-revA.dts [moved from arch/arm/dts/zynqmp-zcu102.dts with 99% similarity]
arch/arm/dts/zynqmp-zcu102-revB.dts
configs/xilinx_zynqmp_zcu102_revA_defconfig [moved from configs/xilinx_zynqmp_zcu102_defconfig with 97% similarity]

index e4d118d51ce0a3edd75371cefe21f8074e33426d..175c706e7a57c4a358b6825181e5a384231fa1d7 100644 (file)
@@ -139,7 +139,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb \
        zynq-zc770-xm013.dtb
 dtb-$(CONFIG_ARCH_ZYNQMP) += \
        zynqmp-ep108.dtb                        \
-       zynqmp-zcu102.dtb                       \
+       zynqmp-zcu102-revA.dtb                  \
        zynqmp-zcu102-revB.dtb                  \
        zynqmp-zc1751-xm015-dc1.dtb             \
        zynqmp-zc1751-xm016-dc2.dtb             \
similarity index 99%
rename from arch/arm/dts/zynqmp-zcu102.dts
rename to arch/arm/dts/zynqmp-zcu102-revA.dts
index 0e9150e6b1cb1cfb3457d89dac5225972eeb36e9..d8ac008f2bca36b8bc81dd7c18a4d77975c17095 100644 (file)
@@ -16,7 +16,7 @@
 
 / {
        model = "ZynqMP ZCU102 RevA";
-       compatible = "xlnx,zynqmp-zcu102", "xlnx,zynqmp";
+       compatible = "xlnx,zynqmp-zcu102-revA", "xlnx,zynqmp-zcu102", "xlnx,zynqmp";
 
        aliases {
                ethernet0 = &gem3;
index 765108e4378965c4f0c4cdc82f03fd2a5c27b630..82337332f99f31fad7c2b9389af8279b2b0ab211 100644 (file)
@@ -8,7 +8,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include "zynqmp-zcu102.dts"
+#include "zynqmp-zcu102-revA.dts"
 
 / {
        model = "ZynqMP ZCU102 RevB";
similarity index 97%
rename from configs/xilinx_zynqmp_zcu102_defconfig
rename to configs/xilinx_zynqmp_zcu102_revA_defconfig
index 4d0f73f782eaaaee40be83ad902f3235d79eb6fe..fc14459d3c569dedd36220b54998e3b1f3975ac1 100644 (file)
@@ -5,7 +5,7 @@ CONFIG_SYS_TEXT_BASE=0x8000000
 CONFIG_SYS_MALLOC_F_LEN=0x8000
 CONFIG_IDENT_STRING=" Xilinx ZynqMP ZCU102"
 CONFIG_ZYNQMP_USB=y
-CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu102"
+CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu102-revA"
 CONFIG_DEBUG_UART=y
 CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y