Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/403176/?format=api
{ "id": 403176, "url": "http://patchwork.ozlabs.org/api/patches/403176/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1414140794-24345-1-git-send-email-b18965@freescale.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": "<1414140794-24345-1-git-send-email-b18965@freescale.com>", "list_archive_url": null, "date": "2014-10-24T08:53:14", "name": "[U-Boot] arm: ls102xa: Add QSPI boot support for LS1021AQDS/TWR board", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "0ed6b3427d6d6c271b94a270703c67737d8e0ee6", "submitter": { "id": 13010, "url": "http://patchwork.ozlabs.org/api/people/13010/?format=api", "name": "Alison Wang", "email": "b18965@freescale.com" }, "delegate": { "id": 2666, "url": "http://patchwork.ozlabs.org/api/users/2666/?format=api", "username": "yorksun", "first_name": "York", "last_name": "Sun", "email": "yorksun@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1414140794-24345-1-git-send-email-b18965@freescale.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/403176/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/403176/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 theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 6C536140082\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 27 Oct 2014 02:08:13 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 5C6F8A74FE;\n\tSun, 26 Oct 2014 16:07:43 +0100 (CET)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id LymYRzSMbA6G; Sun, 26 Oct 2014 16:07:43 +0100 (CET)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id B539DA74CD;\n\tSun, 26 Oct 2014 16:07:33 +0100 (CET)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 9EDF0A73EF\n\tfor <u-boot@lists.denx.de>; Fri, 24 Oct 2014 10:54:07 +0200 (CEST)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id oyqGkpQ3wWYD for <u-boot@lists.denx.de>;\n\tFri, 24 Oct 2014 10:54:07 +0200 (CEST)", "from na01-bn1-obe.outbound.protection.outlook.com\n\t(mail-bn1bon0148.outbound.protection.outlook.com [157.56.111.148])\n\tby theia.denx.de (Postfix) with ESMTPS id 27D1BA73E7\n\tfor <u-boot@lists.denx.de>; Fri, 24 Oct 2014 10:54:03 +0200 (CEST)", "from CO2PR03CA0038.namprd03.prod.outlook.com (10.141.194.165) by\n\tBN1PR03MB154.namprd03.prod.outlook.com (10.255.201.18) with Microsoft\n\tSMTP Server (TLS) id 15.0.1054.13; Fri, 24 Oct 2014 08:54:01 +0000", "from BN1BFFO11FD037.protection.gbl (2a01:111:f400:7c10::1:154) by\n\tCO2PR03CA0038.outlook.office365.com (2a01:111:e400:1414::37) with\n\tMicrosoft\n\tSMTP Server (TLS) id 15.1.6.9 via Frontend Transport; Fri, 24 Oct 2014\n\t08:53:59 +0000", "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBN1BFFO11FD037.mail.protection.outlook.com (10.58.144.100) with\n\tMicrosoft SMTP Server (TLS) id 15.0.1049.20 via Frontend Transport;\n\tFri, 24 Oct 2014 08:53:59 +0000", "from titan.ap.freescale.net ([10.192.208.233])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\ts9O8rtBG018867; Fri, 24 Oct 2014 01:53:56 -0700" ], "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)", "From": "Alison Wang <b18965@freescale.com>", "To": "<yorksun@freescale.com>, <u-boot@lists.denx.de>", "Date": "Fri, 24 Oct 2014 16:53:14 +0800", "Message-ID": "<1414140794-24345-1-git-send-email-b18965@freescale.com>", "X-Mailer": "git-send-email 2.1.0.27.g96db324", "X-EOPAttributedMessage": "0", "X-Forefront-Antispam-Report": "CIP:192.88.168.50; CTRY:US; IPV:CAL; IPV:NLI;\n\tEFV:NLI; SFV:NSPM;\n\tSFS:(10019020)(6009001)(199003)(189002)(80022003)(26826002)(92566001)(4396001)(77156001)(50226001)(89996001)(92726001)(48376002)(85306004)(68736004)(44976005)(85852003)(19580395003)(87936001)(19580405001)(102836001)(6806004)(88136002)(84676001)(47776003)(21056001)(76482002)(105606002)(104166001)(62966002)(106466001)(36756003)(104016003)(95666004)(93916002)(50986999)(107046002)(87286001)(50466002)(20776003)(33646002)(229853001)(97736003)(46102003)(120916001)(64706001)(99396003)(31966008)(42262002);\n\tDIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR03MB154;\n\tH:tx30smr01.am.freescale.net; FPR:; MLV:ovrnspm;\n\tPTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; ", "MIME-Version": "1.0", "X-Microsoft-Antispam": [ "UriScan:;", "BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB154;" ], "X-Exchange-Antispam-Report-Test": "UriScan:;", "X-Forefront-PRVS": "0374433C81", "Received-SPF": "Fail (protection.outlook.com: domain of freescale.com does not\n\tdesignate 192.88.168.50 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.168.50; helo=tx30smr01.am.freescale.net;", "Authentication-Results": "spf=fail (sender IP is 192.88.168.50)\n\tsmtp.mailfrom=alison.wang@freescale.com; ", "X-OriginatorOrg": "freescale.com", "Cc": "Alison Wang <alison.wang@freescale.com>", "Subject": "[U-Boot] [PATCH] arm: ls102xa: Add QSPI boot support for\n\tLS1021AQDS/TWR board", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.13", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<http://lists.denx.de/mailman/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "u-boot-bounces@lists.denx.de", "Errors-To": "u-boot-bounces@lists.denx.de" }, "content": "This patch adds QSPI boot support for LS1021AQDS/TWR board.\nThe QSPI boot image need to be programmed into the QSPI flash\nfirst. Then the booting will start from QSPI memory space.\n\nThis patch is based on the previous QSPI enabled patches.\n\nSigned-off-by: Alison Wang <alison.wang@freescale.com>\n---\n board/freescale/ls1021aqds/MAINTAINERS | 1 +\n board/freescale/ls1021aqds/ls1021aqds.c | 4 ++++\n board/freescale/ls1021atwr/MAINTAINERS | 1 +\n configs/ls1021aqds_qspi_defconfig | 3 +++\n configs/ls1021atwr_qspi_defconfig | 3 +++\n include/configs/ls1021aqds.h | 5 +++++\n include/configs/ls1021atwr.h | 10 ++++++++++\n 7 files changed, 27 insertions(+)\n create mode 100644 configs/ls1021aqds_qspi_defconfig\n create mode 100644 configs/ls1021atwr_qspi_defconfig", "diff": "diff --git a/board/freescale/ls1021aqds/MAINTAINERS b/board/freescale/ls1021aqds/MAINTAINERS\nindex f136700..8a15575 100644\n--- a/board/freescale/ls1021aqds/MAINTAINERS\n+++ b/board/freescale/ls1021aqds/MAINTAINERS\n@@ -7,3 +7,4 @@ F:\tconfigs/ls1021aqds_nor_defconfig\n F:\tconfigs/ls1021aqds_ddr4_nor_defconfig\n F:\tconfigs/ls1021aqds_sdcard_defconfig\n F:\tconfigs/ls1021aqds_nand_defconfig\n+F:\tconfigs/ls1021aqds_qspi_defconfig\ndiff --git a/board/freescale/ls1021aqds/ls1021aqds.c b/board/freescale/ls1021aqds/ls1021aqds.c\nindex 053ba70..fc88a1f 100644\n--- a/board/freescale/ls1021aqds/ls1021aqds.c\n+++ b/board/freescale/ls1021aqds/ls1021aqds.c\n@@ -29,7 +29,9 @@ enum {\n \n int checkboard(void)\n {\n+#ifndef CONFIG_QSPI_BOOT\n \tchar buf[64];\n+#endif\n #if !defined(CONFIG_SD_BOOT) && !defined(CONFIG_QSPI_BOOT)\n \tu8 sw;\n #endif\n@@ -52,12 +54,14 @@ int checkboard(void)\n \t\tprintf(\"invalid setting of SW%u\\n\", QIXIS_LBMAP_SWITCH);\n #endif\n \n+#ifndef CONFIG_QSPI_BOOT\n \tprintf(\"Sys ID:0x%02x, Sys Ver: 0x%02x\\n\",\n \t QIXIS_READ(id), QIXIS_READ(arch));\n \n \tprintf(\"FPGA: v%d (%s), build %d\\n\",\n \t (int)QIXIS_READ(scver), qixis_read_tag(buf),\n \t (int)qixis_read_minor());\n+#endif\n \n \treturn 0;\n }\ndiff --git a/board/freescale/ls1021atwr/MAINTAINERS b/board/freescale/ls1021atwr/MAINTAINERS\nindex 651d43e..2a4a4a4 100644\n--- a/board/freescale/ls1021atwr/MAINTAINERS\n+++ b/board/freescale/ls1021atwr/MAINTAINERS\n@@ -5,3 +5,4 @@ F:\tboard/freescale/ls1021atwr/\n F:\tinclude/configs/ls1021atwr.h\n F:\tconfigs/ls1021atwr_nor_defconfig\n F:\tconfigs/ls1021atwr_sdcard_defconfig\n+F:\tconfigs/ls1021atwr_qspi_defconfig\ndiff --git a/configs/ls1021aqds_qspi_defconfig b/configs/ls1021aqds_qspi_defconfig\nnew file mode 100644\nindex 0000000..05ec8e6\n--- /dev/null\n+++ b/configs/ls1021aqds_qspi_defconfig\n@@ -0,0 +1,3 @@\n+CONFIG_SYS_EXTRA_OPTIONS=\"QSPI_BOOT\"\n++S:CONFIG_ARM=y\n++S:CONFIG_TARGET_LS1021AQDS=y\ndiff --git a/configs/ls1021atwr_qspi_defconfig b/configs/ls1021atwr_qspi_defconfig\nnew file mode 100644\nindex 0000000..611f6e8\n--- /dev/null\n+++ b/configs/ls1021atwr_qspi_defconfig\n@@ -0,0 +1,3 @@\n+CONFIG_SYS_EXTRA_OPTIONS=\"QSPI_BOOT\"\n++S:CONFIG_ARM=y\n++S:CONFIG_TARGET_LS1021ATWR=y\ndiff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h\nindex 1136278..57b3be5 100644\n--- a/include/configs/ls1021aqds.h\n+++ b/include/configs/ls1021aqds.h\n@@ -112,6 +112,11 @@ unsigned long get_board_ddr_clk(void);\n #define CONFIG_SYS_MONITOR_LEN\t\t0x80000\n #endif\n \n+#ifdef CONFIG_QSPI_BOOT\n+#define CONFIG_SYS_TEXT_BASE\t\t0x40010000\n+#define CONFIG_SYS_NO_FLASH\n+#endif\n+\n #ifndef CONFIG_SYS_TEXT_BASE\n #define CONFIG_SYS_TEXT_BASE\t\t0x67f80000\n #endif\ndiff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h\nindex 9c8ef68..d7b8a76 100644\n--- a/include/configs/ls1021atwr.h\n+++ b/include/configs/ls1021atwr.h\n@@ -68,6 +68,11 @@\n #define CONFIG_SYS_NO_FLASH\n #endif\n \n+#if defined(CONFIG_QSPI_BOOT)\n+#define CONFIG_SYS_TEXT_BASE\t\t0x40010000\n+#define CONFIG_SYS_NO_FLASH\n+#endif\n+\n #ifndef CONFIG_SYS_TEXT_BASE\n #define CONFIG_SYS_TEXT_BASE\t\t0x67f80000\n #endif\n@@ -340,6 +345,11 @@\n #define CONFIG_ENV_IS_IN_MMC\n #define CONFIG_SYS_MMC_ENV_DEV\t\t0\n #define CONFIG_ENV_SIZE\t\t\t0x20000\n+#elif defined(CONFIG_QSPI_BOOT)\n+#define CONFIG_ENV_IS_IN_SPI_FLASH\n+#define CONFIG_ENV_SIZE\t\t\t0x2000\n+#define CONFIG_ENV_OFFSET\t\t0x100000\n+#define CONFIG_ENV_SECT_SIZE\t\t0x10000\n #else\n #define CONFIG_ENV_IS_IN_FLASH\n #define CONFIG_ENV_ADDR\t\t(CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE)\n", "prefixes": [ "U-Boot" ] }