{"id":807171,"url":"http://patchwork.ozlabs.org/api/1.2/patches/807171/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170829161011.22479-1-stefan@agner.ch/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/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":"<20170829161011.22479-1-stefan@agner.ch>","list_archive_url":null,"date":"2017-08-29T16:10:11","name":"[U-Boot,v1] imx: remove SATA boot mode for i.MX 6UL and 6ULL","commit_ref":"624da53ca8a8196985a48bc32d788b434ae0f788","pull_url":null,"state":"accepted","archived":false,"hash":"ff9e98c6a119575229cbba5c6aa101b0919b20e1","submitter":{"id":4137,"url":"http://patchwork.ozlabs.org/api/1.2/people/4137/?format=json","name":"Stefan Agner","email":"stefan@agner.ch"},"delegate":{"id":1693,"url":"http://patchwork.ozlabs.org/api/1.2/users/1693/?format=json","username":"sbabic","first_name":"Stefano","last_name":"Babic","email":"sbabic@denx.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170829161011.22479-1-stefan@agner.ch/mbox/","series":[{"id":407,"url":"http://patchwork.ozlabs.org/api/1.2/series/407/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=407","date":"2017-08-29T16:10:11","name":"[U-Boot,v1] imx: remove SATA boot mode for i.MX 6UL and 6ULL","version":1,"mbox":"http://patchwork.ozlabs.org/series/407/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/807171/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807171/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\tsecure) header.d=agner.ch header.i=@agner.ch header.b=\"U5fPm+c4\";\n\tdkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhZKb4lsjz9t38\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 02:46:43 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 4CA35C22147; Tue, 29 Aug 2017 16:39:08 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D9448C2219C;\n\tTue, 29 Aug 2017 16:39:05 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid BBE76C22272; Tue, 29 Aug 2017 16:10:20 +0000 (UTC)","from mail.kmu-office.ch (mail.kmu-office.ch [178.209.48.109])\n\tby lists.denx.de (Postfix) with ESMTPS id 40760C22382\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 16:10:19 +0000 (UTC)","from trochilidae.toradex.int\n\t(75-146-58-181-Washington.hfc.comcastbusiness.net [75.146.58.181])\n\tby mail.kmu-office.ch (Postfix) with ESMTPSA id 681FC5C22D9;\n\tTue, 29 Aug 2017 18:06:51 +0200 (CEST)"],"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\tRCVD_IN_DNSWL_NONE, SPF_HELO_PASS,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","From":"Stefan Agner <stefan@agner.ch>","To":"sbabic@denx.de,\n\tfabio.estevam@nxp.com","Date":"Tue, 29 Aug 2017 09:10:11 -0700","Message-Id":"<20170829161011.22479-1-stefan@agner.ch>","X-Mailer":"git-send-email 2.14.1","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim;\n\tt=1504022814; bh=epDi97krogPGTYB8jwIPydd/xLvVUEcfhPIdpmffCuo=;\n\th=From:To:Cc:Subject:Date:Message-Id;\n\tb=U5fPm+c4NfuG47rUqL4yBpWPQWNNUSVItCPP+vqJmqWqHEN9jNLtXrluEhHQah8bqAd5xHyaFVV5iDu3kE6vi5nIqlLObb1QbXRyY1E4OFS9KbpNOEUx5f9wcliXxazOHc81gACQnsmZ3z4wtkoYmhvlDbmoTzuSKqS+dq0gnFs=","Cc":"marex@denx.de, albert.u.boot@aribaud.net,\n\tStefan Agner <stefan.agner@toradex.com>,\n\tgary.bisson@boundarydevices.com, \n\tMarcel Ziswiler <marcel.ziswiler@toradex.com>,\n\tjoel.esponde@honeywell.com, \n\tu-boot@lists.denx.de, Max Krummenacher <max.krummenacher@toradex.com>,\n\tjagan@openedev.com","Subject":"[U-Boot] [PATCH v1] imx: remove SATA boot mode for i.MX 6UL and 6ULL","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: Stefan Agner <stefan.agner@toradex.com>\n\nThe NXP i.MX 6UL and 6ULL do not support SATA and have no SATA\nboot mode, hence remove it from the boot device detecion. This\nfixes a build error introduced with 3bd1642d4d50 (\"imx: fix USB\nboot mode detection for i.MX 6UL and 6ULL\")\n\nFixes: 3bd1642d4d50 (\"imx: fix USB boot mode detection for i.MX 6UL and 6ULL\")\nSigned-off-by: Stefan Agner <stefan.agner@toradex.com>\n---\n\n arch/arm/mach-imx/spl.c | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c\nindex bcd1033fdb..3853e7739d 100644\n--- a/arch/arm/mach-imx/spl.c\n+++ b/arch/arm/mach-imx/spl.c\n@@ -45,8 +45,10 @@ u32 spl_boot_device(void)\n \tcase IMX6_BMODE_RESERVED:\n \t\treturn BOOT_DEVICE_BOARD;\n \t/* SATA: See 8.5.4, Table 8-20 */\n+#if !defined(CONFIG_MX6UL) && !defined(CONFIG_MX6ULL)\n \tcase IMX6_BMODE_SATA:\n \t\treturn BOOT_DEVICE_SATA;\n+#endif\n \t/* Serial ROM: See 8.5.5.1, Table 8-22 */\n \tcase IMX6_BMODE_SERIAL_ROM:\n \t\t/* BOOT_CFG4[2:0] */\n","prefixes":["U-Boot","v1"]}