{"id":803871,"url":"http://patchwork.ozlabs.org/api/patches/803871/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170821072101.29375-14-lokeshvutla@ti.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170821072101.29375-14-lokeshvutla@ti.com>","list_archive_url":null,"date":"2017-08-21T07:21:01","name":"[U-Boot,v2,13/13] board: ti: dra76: Add dt support","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"84fd89faca07467f72dc4c586cf76bf2f67dda4b","submitter":{"id":14145,"url":"http://patchwork.ozlabs.org/api/people/14145/?format=json","name":"Lokesh Vutla","email":"lokeshvutla@ti.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170821072101.29375-14-lokeshvutla@ti.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/803871/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/803871/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"sqLnAZMa\";\n\tdkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xbQTr1VKdz9t3F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 21 Aug 2017 17:35:59 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid B5587C220D0; Mon, 21 Aug 2017 07:33:05 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 98984C22143;\n\tMon, 21 Aug 2017 07:26:22 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid CFFCCC21E05; Mon, 21 Aug 2017 07:26:08 +0000 (UTC)","from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16])\n\tby lists.denx.de (Postfix) with ESMTPS id B2C59C220DF\n\tfor <u-boot@lists.denx.de>; Mon, 21 Aug 2017 07:26:03 +0000 (UTC)","from dflxv15.itg.ti.com ([128.247.5.124])\n\tby fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v7L7PbP4023509; \n\tMon, 21 Aug 2017 02:25:37 -0500","from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31])\n\tby dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7L7PWao002789;\n\tMon, 21 Aug 2017 02:25:32 -0500","from DLEE111.ent.ti.com (157.170.170.22) by DLEE101.ent.ti.com\n\t(157.170.170.31) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tMon, 21 Aug 2017 02:25:31 -0500","from dflp32.itg.ti.com (10.64.6.15) by DLEE111.ent.ti.com\n\t(157.170.170.22) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Mon, 21 Aug 2017 02:25:31 -0500","from a0131933.india.ti.com (ileax41-snat.itg.ti.com\n\t[10.172.224.153])\n\tby dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7L7P3Zn010673;\n\tMon, 21 Aug 2017 02:25:30 -0500"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1503300337;\n\tbh=vkUOuvFT1KCOvR3Fht5S8ZXdGAz4y1mG761ESy1btLI=;\n\th=From:To:CC:Subject:Date:In-Reply-To:References;\n\tb=sqLnAZMa76dacx8w3Yt1cCKEnuIRSkhXTGg2sNhU0GQYmGIpm4rQSd4FG9c6btRul\n\tiZzdBMGR+/vDj+vASTsU8cC5Kb12eaiA/wcdH0AXP9PrdYdisdbM8DgKY0CzgvdrTA\n\t7waur3p3zJbXOBD/heSD47y34fiwBy0LZtLs19T4=","From":"Lokesh Vutla <lokeshvutla@ti.com>","To":"Tom Rini <trini@konsulko.com>, <u-boot@lists.denx.de>","Date":"Mon, 21 Aug 2017 12:51:01 +0530","Message-ID":"<20170821072101.29375-14-lokeshvutla@ti.com>","X-Mailer":"git-send-email 2.13.0","In-Reply-To":"<20170821072101.29375-1-lokeshvutla@ti.com>","References":"<20170821072101.29375-1-lokeshvutla@ti.com>","MIME-Version":"1.0","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","Cc":"Tero Kristo <t-kristo@ti.com>","Subject":"[U-Boot] [PATCH v2 13/13] board: ti: dra76: Add dt support","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Add support for selecting proper dtb for\ndra76x u-boot from FIT.\n\nSigned-off-by: Lokesh Vutla <lokeshvutla@ti.com>\n---\n arch/arm/dts/Makefile           | 2 +-\n board/ti/dra7xx/evm.c           | 4 +++-\n configs/dra7xx_evm_defconfig    | 2 +-\n configs/dra7xx_hs_evm_defconfig | 2 +-\n 4 files changed, 6 insertions(+), 4 deletions(-)","diff":"diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile\nindex d07715fc4f..f1dbdce9be 100644\n--- a/arch/arm/dts/Makefile\n+++ b/arch/arm/dts/Makefile\n@@ -175,7 +175,7 @@ dtb-$(CONFIG_ARCH_SOCFPGA) +=\t\t\t\t\\\n \tsocfpga_cyclone5_vining_fpga.dtb\n \n dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb\t\\\n-\tdra72-evm-revc.dtb dra71-evm.dtb\n+\tdra72-evm-revc.dtb dra71-evm.dtb dra76-evm.dtb\n dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb \\\n \tam57xx-beagle-x15-revb1.dtb \\\n \tam572x-idk.dtb\t\\\ndiff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c\nindex 87b7403070..bd871fa749 100644\n--- a/board/ti/dra7xx/evm.c\n+++ b/board/ti/dra7xx/evm.c\n@@ -1115,7 +1115,9 @@ int board_fit_config_name_match(const char *name)\n \t\t} else if (!strcmp(name, \"dra72-evm\")) {\n \t\t\treturn 0;\n \t\t}\n-\t} else if (!is_dra72x() && !strcmp(name, \"dra7-evm\")) {\n+\t} else if (is_dra76x() && !strcmp(name, \"dra76-evm\")) {\n+\t\treturn 0;\n+\t} else if (!is_dra72x() && !is_dra76x() && !strcmp(name, \"dra7-evm\")) {\n \t\treturn 0;\n \t}\n \ndiff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig\nindex 4fff0cf734..30243bd132 100644\n--- a/configs/dra7xx_evm_defconfig\n+++ b/configs/dra7xx_evm_defconfig\n@@ -38,7 +38,7 @@ CONFIG_CMD_SPL=y\n CONFIG_ISO_PARTITION=y\n CONFIG_OF_CONTROL=y\n CONFIG_SPL_OF_CONTROL=y\n-CONFIG_OF_LIST=\"dra7-evm dra72-evm dra72-evm-revc dra71-evm\"\n+CONFIG_OF_LIST=\"dra7-evm dra72-evm dra72-evm-revc dra71-evm dra76-evm\"\n CONFIG_DM=y\n CONFIG_SPL_DM=y\n CONFIG_SPL_DM_SEQ_ALIAS=y\ndiff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig\nindex 5572472d01..17fc92cebe 100644\n--- a/configs/dra7xx_hs_evm_defconfig\n+++ b/configs/dra7xx_hs_evm_defconfig\n@@ -42,7 +42,7 @@ CONFIG_FASTBOOT_FLASH_MMC_DEV=1\n CONFIG_ISO_PARTITION=y\n CONFIG_OF_CONTROL=y\n CONFIG_SPL_OF_CONTROL=y\n-CONFIG_OF_LIST=\"dra7-evm dra72-evm dra72-evm-revc dra71-evm\"\n+CONFIG_OF_LIST=\"dra7-evm dra72-evm dra72-evm-revc dra71-evm dra76-evm\"\n CONFIG_DM=y\n CONFIG_SPL_DM=y\n CONFIG_REGMAP=y\n","prefixes":["U-Boot","v2","13/13"]}