Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1149972/?format=api
{ "id": 1149972, "url": "http://patchwork.ozlabs.org/api/patches/1149972/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190820093536.39407-3-Zhiqiang.Hou@nxp.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "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": "<20190820093536.39407-3-Zhiqiang.Hou@nxp.com>", "list_archive_url": null, "date": "2019-08-20T09:35:24", "name": "[U-Boot,PATCHv2,02/14] powerpc: Enable device tree support for T2080RDB", "commit_ref": null, "pull_url": null, "state": "awaiting-upstream", "archived": false, "hash": "195c5c9d4df9eb7d84bbed7bc6bbbcd4d71202fa", "submitter": { "id": 67929, "url": "http://patchwork.ozlabs.org/api/people/67929/?format=api", "name": "Z.Q. Hou", "email": "zhiqiang.hou@nxp.com" }, "delegate": { "id": 2467, "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api", "username": "prabhu_kush", "first_name": "Prabhakar", "last_name": "Kushwaha", "email": "prabhakar@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190820093536.39407-3-Zhiqiang.Hou@nxp.com/mbox/", "series": [ { "id": 126154, "url": "http://patchwork.ozlabs.org/api/series/126154/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=126154", "date": "2019-08-20T09:35:22", "name": "powerpc: Enable device tree support", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/126154/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1149972/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1149972/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\tdmarc=fail (p=none dis=none) header.from=nxp.com" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 46CQtg13DQz9s4Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 20 Aug 2019 19:47:07 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid C4584C21F07; Tue, 20 Aug 2019 09:46:29 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5A527C21F47;\n\tTue, 20 Aug 2019 09:45:59 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 5E558C21F76; Tue, 20 Aug 2019 09:45:50 +0000 (UTC)", "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby lists.denx.de (Postfix) with ESMTPS id 9748CC21F63\n\tfor <u-boot@lists.denx.de>; Tue, 20 Aug 2019 09:45:46 +0000 (UTC)", "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 1AA15200221;\n\tTue, 20 Aug 2019 11:45:46 +0200 (CEST)", "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9796820020F;\n\tTue, 20 Aug 2019 11:45:39 +0200 (CEST)", "from titan.ap.freescale.net (TITAN.ap.freescale.net\n\t[10.192.208.233])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 9B0B140314;\n\tTue, 20 Aug 2019 17:45:31 +0800 (SGT)" ], "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=KHOP_BIG_TO_CC\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "From": "Hou Zhiqiang <Zhiqiang.Hou@nxp.com>", "To": "u-boot@lists.denx.de, prabhakar.kushwaha@nxp.com, wd@denx.de,\n\tShengzhou.Liu@nxp.com, priyanka.jain@nxp.com, sjg@chromium.org,\n\tmarek.vasut+renesas@gmail.com, sr@denx.de, jagdish.gediya@nxp.com,\n\tbmeng.cn@gmail.com, york.sun@nxp.com, Jiafei.Pan@nxp.com,\n\tXiaowei.Bao@nxp.com", "Date": "Tue, 20 Aug 2019 09:35:24 +0000", "Message-Id": "<20190820093536.39407-3-Zhiqiang.Hou@nxp.com>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20190820093536.39407-1-Zhiqiang.Hou@nxp.com>", "References": "<20190820093536.39407-1-Zhiqiang.Hou@nxp.com>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Cc": "Hou Zhiqiang <Zhiqiang.Hou@nxp.com>", "Subject": "[U-Boot] [PATCHv2 02/14] powerpc: Enable device tree support for\n\tT2080RDB", "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>", "MIME-Version": "1.0", "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 device tree for T2080RDB board and enable CONFIG_OF_CONTROL\nso that device tree can be compiled.\nUpdate board README for device tree usage.\n\nSigned-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>\n---\nV2:\n - No change.\n\n arch/powerpc/dts/Makefile | 1 +\n arch/powerpc/dts/t2080rdb.dts | 17 +++++++++++++++++\n board/freescale/t208xrdb/README | 19 +++++++++++++++++++\n configs/T2080RDB_NAND_defconfig | 2 ++\n configs/T2080RDB_SDCARD_defconfig | 2 ++\n configs/T2080RDB_SPIFLASH_defconfig | 2 ++\n configs/T2080RDB_defconfig | 3 +++\n 7 files changed, 46 insertions(+)\n create mode 100644 arch/powerpc/dts/t2080rdb.dts", "diff": "diff --git a/arch/powerpc/dts/Makefile b/arch/powerpc/dts/Makefile\nindex 6a28f80..388a4b2 100644\n--- a/arch/powerpc/dts/Makefile\n+++ b/arch/powerpc/dts/Makefile\n@@ -1,6 +1,7 @@\n # SPDX-License-Identifier: GPL-2.0+\n \n dtb-$(CONFIG_TARGET_T2080QDS) += t2080qds.dtb\n+dtb-$(CONFIG_TARGET_T2080RDB) += t2080rdb.dtb\n dtb-$(CONFIG_TARGET_MCR3000) += mcr3000.dtb\n dtb-$(CONFIG_TARGET_GAZERBEAM) += gazerbeam.dtb\n \ndiff --git a/arch/powerpc/dts/t2080rdb.dts b/arch/powerpc/dts/t2080rdb.dts\nnew file mode 100644\nindex 0000000..49c1765\n--- /dev/null\n+++ b/arch/powerpc/dts/t2080rdb.dts\n@@ -0,0 +1,17 @@\n+// SPDX-License-Identifier: GPL-2.0+ OR X11\n+/*\n+ * T2080RDB Device Tree Source\n+ *\n+ * Copyright 2013 - 2015 Freescale Semiconductor Inc.\n+ * Copyright 2019 NXP\n+ */\n+\n+/include/ \"t2080.dtsi\"\n+\n+/ {\n+\tmodel = \"fsl,T2080RDB\";\n+\tcompatible = \"fsl,T2080RDB\";\n+\t#address-cells = <2>;\n+\t#size-cells = <2>;\n+\tinterrupt-parent = <&mpic>;\n+};\ndiff --git a/board/freescale/t208xrdb/README b/board/freescale/t208xrdb/README\nindex 42b2b92..9e4b28f 100644\n--- a/board/freescale/t208xrdb/README\n+++ b/board/freescale/t208xrdb/README\n@@ -262,3 +262,22 @@ How to update the ucode of Freescale FMAN\n \n For more details, please refer to T2080PCIe-RDB User Guide and access\n website www.freescale.com and Freescale QorIQ SDK Infocenter document.\n+\n+Device tree support and how to enable it for different configs\n+--------------------------------------------------------------\n+Device tree support is available for t2080rdb for below mentioned boot,\n+1. NOR Boot\n+2. NAND Boot\n+3. SD Boot\n+4. SPIFLASH Boot\n+\n+To enable device tree support for other boot, below configs need to be\n+enabled in relative defconfig file,\n+1. CONFIG_DEFAULT_DEVICE_TREE=\"t2080rdb\" (Change default device tree name if required)\n+2. CONFIG_OF_CONTROL\n+3. CONFIG_MPC85XX_HAVE_RESET_VECTOR if reset vector is located at\n+ CONFIG_RESET_VECTOR_ADDRESS - 0xffc\n+\n+If device tree support is enabled in defconfig,\n+1. use 'u-boot-with-dtb.bin' for NOR boot.\n+2. use 'u-boot-with-spl-pbl.bin' for other boot.\ndiff --git a/configs/T2080RDB_NAND_defconfig b/configs/T2080RDB_NAND_defconfig\nindex 1bb90f3..7eb7058 100644\n--- a/configs/T2080RDB_NAND_defconfig\n+++ b/configs/T2080RDB_NAND_defconfig\n@@ -10,10 +10,12 @@ CONFIG_TARGET_T2080RDB=y\n CONFIG_FIT=y\n CONFIG_FIT_VERBOSE=y\n CONFIG_OF_BOARD_SETUP=y\n+CONFIG_OF_CONTROL=y\n CONFIG_OF_STDOUT_VIA_ALIAS=y\n CONFIG_SYS_EXTRA_OPTIONS=\"RAMBOOT_PBL,SPL_FSL_PBL\"\n CONFIG_BOOTDELAY=10\n CONFIG_BOARD_EARLY_INIT_R=y\n+CONFIG_DEFAULT_DEVICE_TREE=\"t2080rdb\"\n # CONFIG_SPL_FRAMEWORK is not set\n CONFIG_SPL_TEXT_BASE=0xFFFD8000\n CONFIG_SPL_ENV_SUPPORT=y\ndiff --git a/configs/T2080RDB_SDCARD_defconfig b/configs/T2080RDB_SDCARD_defconfig\nindex 1a7070c..9ea6698 100644\n--- a/configs/T2080RDB_SDCARD_defconfig\n+++ b/configs/T2080RDB_SDCARD_defconfig\n@@ -11,6 +11,8 @@ CONFIG_TARGET_T2080RDB=y\n CONFIG_FIT=y\n CONFIG_FIT_VERBOSE=y\n CONFIG_OF_BOARD_SETUP=y\n+CONFIG_OF_CONTROL=y\n+CONFIG_DEFAULT_DEVICE_TREE=\"t2080rdb\"\n CONFIG_OF_STDOUT_VIA_ALIAS=y\n CONFIG_SYS_EXTRA_OPTIONS=\"RAMBOOT_PBL,SPL_FSL_PBL,SDCARD\"\n CONFIG_BOOTDELAY=10\ndiff --git a/configs/T2080RDB_SPIFLASH_defconfig b/configs/T2080RDB_SPIFLASH_defconfig\nindex ceb0230..988897b 100644\n--- a/configs/T2080RDB_SPIFLASH_defconfig\n+++ b/configs/T2080RDB_SPIFLASH_defconfig\n@@ -13,6 +13,8 @@ CONFIG_FIT=y\n CONFIG_FIT_VERBOSE=y\n CONFIG_OF_BOARD_SETUP=y\n CONFIG_OF_STDOUT_VIA_ALIAS=y\n+CONFIG_OF_CONTROL=y\n+CONFIG_DEFAULT_DEVICE_TREE=\"t2080rdb\"\n CONFIG_SYS_EXTRA_OPTIONS=\"RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH\"\n CONFIG_BOOTDELAY=10\n CONFIG_BOARD_EARLY_INIT_R=y\ndiff --git a/configs/T2080RDB_defconfig b/configs/T2080RDB_defconfig\nindex e782ba0..3f7e282 100644\n--- a/configs/T2080RDB_defconfig\n+++ b/configs/T2080RDB_defconfig\n@@ -2,9 +2,11 @@ CONFIG_PPC=y\n CONFIG_SYS_TEXT_BASE=0xEFF40000\n CONFIG_MPC85xx=y\n CONFIG_TARGET_T2080RDB=y\n+CONFIG_MPC85XX_HAVE_RESET_VECTOR=y\n CONFIG_FIT=y\n CONFIG_FIT_VERBOSE=y\n CONFIG_OF_BOARD_SETUP=y\n+CONFIG_OF_CONTROL=y\n CONFIG_OF_STDOUT_VIA_ALIAS=y\n CONFIG_BOOTDELAY=10\n CONFIG_BOARD_EARLY_INIT_R=y\n@@ -26,6 +28,7 @@ CONFIG_CMD_MTDPARTS=y\n CONFIG_MTDIDS_DEFAULT=\"nor0=fe8000000.nor,nand0=fff800000.flash,spi0=spife110000.1\"\n CONFIG_MTDPARTS_DEFAULT=\"mtdparts=fe8000000.nor:1m(uboot),5m(kernel),128k(dtb),96m(fs),-(user);fff800000.flash:1m(uboot),5m(kernel),128k(dtb),96m(fs),-(user);spife110000.1:1m(uboot),5m(kernel),128k(dtb),-(user)\"\n # CONFIG_CMD_IRQ is not set\n+CONFIG_DEFAULT_DEVICE_TREE=\"t2080rdb\"\n CONFIG_ENV_IS_IN_FLASH=y\n CONFIG_FSL_CAAM=y\n CONFIG_FSL_ESDHC=y\n", "prefixes": [ "U-Boot", "PATCHv2", "02/14" ] }