{"id":797559,"url":"http://patchwork.ozlabs.org/api/patches/797559/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170804020403.20996-4-wenyou.yang@microchip.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":"<20170804020403.20996-4-wenyou.yang@microchip.com>","list_archive_url":null,"date":"2017-08-04T02:04:00","name":"[U-Boot,v3,3/6] ARM: at91: spl: Add boot device for boot from QSPI","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"a5ecf2834bb101542288ca0a81ce168c0863ebc4","submitter":{"id":69532,"url":"http://patchwork.ozlabs.org/api/people/69532/?format=json","name":"Wenyou Yang","email":"Wenyou.Yang@microchip.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/20170804020403.20996-4-wenyou.yang@microchip.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/797559/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/797559/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>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xNr5731fMz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  4 Aug 2017 12:11:23 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 22BC0C21D09; Fri,  4 Aug 2017 02:11:04 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 4DD0EC21DD7;\n\tFri,  4 Aug 2017 02:10:50 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid A78A7C21D8E; Fri,  4 Aug 2017 02:10:00 +0000 (UTC)","from DVREDG02.corp.atmel.com (nasmtp01.atmel.com [192.199.1.246])\n\tby lists.denx.de (Postfix) with ESMTPS id 2ADC7C21E05\n\tfor <u-boot@lists.denx.de>; Fri,  4 Aug 2017 02:09:57 +0000 (UTC)","from apsmtp01.atmel.com (10.168.254.30) by DVREDG02.corp.atmel.com\n\t(10.42.103.31) with Microsoft SMTP Server (TLS) id 14.3.235.1;\n\tThu, 3 Aug 2017 20:09:46 -0600","from shaarm01.corp.atmel.com (10.168.254.13) by\n\tapsmtp01.corp.atmel.com (10.168.254.30) with Microsoft SMTP Server id\n\t14.3.235.1; Fri, 4 Aug 2017 10:12:51 +0800"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"Wenyou Yang <wenyou.yang@microchip.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Fri, 4 Aug 2017 10:04:00 +0800","Message-ID":"<20170804020403.20996-4-wenyou.yang@microchip.com>","X-Mailer":"git-send-email 2.13.0","In-Reply-To":"<20170804020403.20996-1-wenyou.yang@microchip.com>","References":"<20170804020403.20996-1-wenyou.yang@microchip.com>","MIME-Version":"1.0","Cc":"Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>","Subject":"[U-Boot] [PATCH v3 3/6] ARM: at91: spl: Add boot device for boot\n\tfrom QSPI","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 the boot device for booting from the QSPI flash.\n\nSigned-off-by: Wenyou Yang <wenyou.yang@microchip.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\n\nChanges in v3: None\nChanges in v2: None\n\n arch/arm/mach-at91/spl.c | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/arch/arm/mach-at91/spl.c b/arch/arm/mach-at91/spl.c\nindex c2e2d90a89..7e7e24bbe6 100644\n--- a/arch/arm/mach-at91/spl.c\n+++ b/arch/arm/mach-at91/spl.c\n@@ -58,6 +58,8 @@ u32 spl_boot_device(void)\n \tif (dev == ATMEL_SAMA5_BOOT_FROM_SPI)\n \t\treturn BOOT_DEVICE_SPI;\n #endif\n+\tif (dev == ATMEL_SAMA5_BOOT_FROM_QSPI)\n+\t\treturn BOOT_DEVICE_SPI;\n \n \tif (dev == ATMEL_SAMA5_BOOT_FROM_SMC)\n \t\treturn BOOT_DEVICE_NAND;\n","prefixes":["U-Boot","v3","3/6"]}