{"id":765808,"url":"http://patchwork.ozlabs.org/api/patches/765808/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1495526310-5543-9-git-send-email-jteki@openedev.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":"<1495526310-5543-9-git-send-email-jteki@openedev.com>","list_archive_url":null,"date":"2017-05-23T07:58:21","name":"[U-Boot,v7,08/17] sabresd: i.MX6QP: Add initial dts support","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":false,"hash":"6a7acf78619b3fc19084825ee439f8c71dda8c2f","submitter":{"id":20045,"url":"http://patchwork.ozlabs.org/api/people/20045/?format=json","name":"Jagan Teki","email":"jagannadh.teki@gmail.com"},"delegate":{"id":1693,"url":"http://patchwork.ozlabs.org/api/users/1693/?format=json","username":"sbabic","first_name":"Stefano","last_name":"Babic","email":"sbabic@denx.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1495526310-5543-9-git-send-email-jteki@openedev.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/765808/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/765808/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","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3wX7PQ1PYrz9sP0\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 23 May 2017 18:05:30 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid BAF8CC21CD8; Tue, 23 May 2017 08:05:22 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 58560C21CEE;\n\tTue, 23 May 2017 08:01:59 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid CBB15C21C62; Tue, 23 May 2017 08:01:22 +0000 (UTC)","from mail-pf0-f195.google.com (mail-pf0-f195.google.com\n\t[209.85.192.195])\n\tby lists.denx.de (Postfix) with ESMTPS id 9DB87C21CAB\n\tfor <u-boot@lists.denx.de>; Tue, 23 May 2017 08:01:17 +0000 (UTC)","by mail-pf0-f195.google.com with SMTP id f27so25839514pfe.0\n\tfor <u-boot@lists.denx.de>; Tue, 23 May 2017 01:01:17 -0700 (PDT)","from localhost.localdomain ([117.247.27.81])\n\tby smtp.gmail.com with ESMTPSA id l7sm14796pgn.10.2017.05.23.01.01.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 23 May 2017 01:01:15 -0700 (PDT)"],"Authentication-Results":"ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"JzsACImr\"; dkim-atps=neutral","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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=n7Vi6kRO5coCtmwpNpdQ4OvGJ2HSBy3jFvnYUqmFu7Q=;\n\tb=JzsACImrdb6Jtwoq+el4iTFf4eEkr7UGU2ct8fCKOesJU9AuPLECjhTctE8IqnT040\n\tlCrlzrDBC8AZQJ5cepD1fIL8wHuuJ5dKUzZ7i1DyKKdrdzbHjMNn7Wep2ifbAebW31zX\n\t7s9PxAsTgUbWtmUJEvLyZimoiQoHYHLFGsb0I+2oYEyPvEVZJI93XRfcEKRY/+UPccNR\n\tTmyC3dpD1RzzmM8+Ckq5G9ZByJcyQ5PgQl4yvqqVeXPVF8yIoqhGwenjhV3b7wj0mvrq\n\tBw7W4aUI51mqRdi8bhN+ak5EHaDpUabhoSUSQwBM6h7OiWv8Arg7J5ecTnenR6G0XvZr\n\tM7lw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=n7Vi6kRO5coCtmwpNpdQ4OvGJ2HSBy3jFvnYUqmFu7Q=;\n\tb=t+ZwF6xTFZp0GuH3r0GOkVu1+SW2jH5qPj3Dh1fT7kz8L1SuRXE47nyKIjYTI3r9km\n\tpQWrBRoHzgzEBih/cs02fP1GZAMBhZa2whnULqJo5qLy0VXVY4MHQlBr0yunC06KksVB\n\tN8uvZ9fAtPhVIDPNmaD/DoXdpQbMRXWgXDiTiNiUFwMw4cQaDa/xoF1fg5aGvCtws4Yp\n\taH6SVWlC4P/JNVK9Ck3BdEFLTB3CMdm6ADIpFfPQs4/mHhZ3jWyHzsG8aK4VC91Fz+3b\n\t7/Rw3lN80PaSA2e3BCKSiTZQNifgUtF1/dJr9mO+X+SciMhv2n2Hz0nZiUto26NIPwG1\n\tX9zA==","X-Gm-Message-State":"AODbwcCmquR3bvbQJOqjkQ13sV3eVDAdlti0RnB7KQB5msy0E8CZBmsA\n\tptI9pEycJgBcmA==","X-Received":"by 10.98.131.142 with SMTP id\n\th136mr30783799pfe.138.1495526476323; \n\tTue, 23 May 2017 01:01:16 -0700 (PDT)","From":"Jagan Teki <jagannadh.teki@gmail.com>","X-Google-Original-From":"Jagan Teki <jteki@openedev.com>","To":"Stefano Babic <sbabic@denx.de>","Date":"Tue, 23 May 2017 13:28:21 +0530","Message-Id":"<1495526310-5543-9-git-send-email-jteki@openedev.com>","X-Mailer":"git-send-email 2.7.4","In-Reply-To":"<1495526310-5543-1-git-send-email-jteki@openedev.com>","References":"<1495526310-5543-1-git-send-email-jteki@openedev.com>","Cc":"Fabio Estevam <fabio.estevam@nxp.com>, u-boot@lists.denx.de","Subject":"[U-Boot] [PATCH v7 08/17] sabresd: i.MX6QP: Add initial dts 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>","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":"From: Jagan Teki <jagan@amarulasolutions.com>\n\nAdd initial devicetree support for i.MX6 Quad Plus Sabresd board.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\n---\n arch/arm/cpu/armv7/mx6/Kconfig   |  3 +++\n board/freescale/mx6sabresd/spl.c | 12 ++++++++++++\n configs/mx6sabresd_spl_defconfig |  1 +\n 3 files changed, 16 insertions(+)","diff":"diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig\nindex 0497fe0..42ac9b9 100644\n--- a/arch/arm/cpu/armv7/mx6/Kconfig\n+++ b/arch/arm/cpu/armv7/mx6/Kconfig\n@@ -220,6 +220,9 @@ config TARGET_MX6SABRESD\n \tselect PINCTRL\n \tselect PINCTRL_IMX6\n \tselect SUPPORT_SPL\n+\tselect FIT\n+\tselect SPL_LOAD_FIT\n+\tselect SPL_OF_LIBFDT\n \n config TARGET_MX6SLEVK\n \tbool \"mx6slevk\"\ndiff --git a/board/freescale/mx6sabresd/spl.c b/board/freescale/mx6sabresd/spl.c\nindex 01d45ce..63847b3 100644\n--- a/board/freescale/mx6sabresd/spl.c\n+++ b/board/freescale/mx6sabresd/spl.c\n@@ -147,6 +147,18 @@ int board_mmc_init(bd_t *bis)\n }\n #endif /* CONFIG_FSL_ESDHC */\n \n+#ifdef CONFIG_SPL_LOAD_FIT\n+int board_fit_config_name_match(const char *name)\n+{\n+\tif (is_mx6dqp() && !strcmp(name, \"imx6qp-sabresd\"))\n+\t\treturn 0;\n+\telse if (is_mx6dq() && !strcmp(name, \"imx6q-sabresd\"))\n+\t\treturn 0;\n+\telse\n+\t\treturn -1;\n+}\n+#endif\n+\n #ifdef CONFIG_SPL_OS_BOOT\n int spl_start_uboot(void)\n {\ndiff --git a/configs/mx6sabresd_spl_defconfig b/configs/mx6sabresd_spl_defconfig\nindex 33e84f0..ef02df1 100644\n--- a/configs/mx6sabresd_spl_defconfig\n+++ b/configs/mx6sabresd_spl_defconfig\n@@ -10,6 +10,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n CONFIG_VIDEO=y\n CONFIG_DEFAULT_DEVICE_TREE=\"imx6q-sabresd\"\n+CONFIG_OF_LIST=\"imx6qp-sabresd imx6q-sabresd\"\n CONFIG_SYS_EXTRA_OPTIONS=\"IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,SPL,MX6QDL\"\n CONFIG_BOOTDELAY=3\n # CONFIG_CONSOLE_MUX is not set\n","prefixes":["U-Boot","v7","08/17"]}