Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/167471/?format=api
{ "id": 167471, "url": "http://patchwork.ozlabs.org/api/patches/167471/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1340749706-27266-2-git-send-email-linz@li-pro.net/", "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": "<1340749706-27266-2-git-send-email-linz@li-pro.net>", "list_archive_url": null, "date": "2012-06-26T22:28:25", "name": "[U-Boot,2/3] microblaze: avoid compile error on systems without cfi flash", "commit_ref": "1fe7e8fa48931898ef2e35a913f56cef02f327a4", "pull_url": null, "state": "accepted", "archived": false, "hash": "a66a8c74b3b9a8b8e858d36a376f524899fada35", "submitter": { "id": 5893, "url": "http://patchwork.ozlabs.org/api/people/5893/?format=api", "name": "Stephan Linz", "email": "linz@li-pro.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1340749706-27266-2-git-send-email-linz@li-pro.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/167471/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/167471/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 55609B6FAC\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 27 Jun 2012 08:29:24 +1000 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 955802809D;\n\tWed, 27 Jun 2012 00:29:14 +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 JvKabXueud8c; Wed, 27 Jun 2012 00:29:14 +0200 (CEST)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 2C1F928089;\n\tWed, 27 Jun 2012 00:29:07 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 3AE302807F\n\tfor <u-boot@lists.denx.de>; Wed, 27 Jun 2012 00:29:04 +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 8x22c86qhPgG for <u-boot@lists.denx.de>;\n\tWed, 27 Jun 2012 00:29:03 +0200 (CEST)", "from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.162])\n\tby theia.denx.de (Postfix) with ESMTPS id 659542805F\n\tfor <u-boot@lists.denx.de>; Wed, 27 Jun 2012 00:29:01 +0200 (CEST)", "from localhost.localdomain (i58828265.versanet.de [88.130.130.101])\n\tby smtp.strato.de (josoe mo28) (RZmta 29.19 DYNA|AUTH)\n\twith ESMTPA id 301132o5QL3T1E ; Wed, 27 Jun 2012 00:28:35 +0200 (CEST)" ], "X-Virus-Scanned": [ "Debian amavisd-new at theia.denx.de", "Debian amavisd-new at theia.denx.de" ], "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)", "X-RZG-AUTH": ":IGUKb2CkcrLHmZv+FHarxbxlXmJO7WRQLa+vsyW+4RLunWeioNrxL1hubceP", "X-RZG-CLASS-ID": "mo00", "From": "Stephan Linz <linz@li-pro.net>", "To": "u-boot@lists.denx.de", "Date": "Wed, 27 Jun 2012 00:28:25 +0200", "Message-Id": "<1340749706-27266-2-git-send-email-linz@li-pro.net>", "X-Mailer": "git-send-email 1.7.0.4", "In-Reply-To": "<1340749706-27266-1-git-send-email-linz@li-pro.net>", "References": "<1340749706-27266-1-git-send-email-linz@li-pro.net>", "Cc": "Stephan Linz <linz@li-pro.net>", "Subject": "[U-Boot] [PATCH 2/3] microblaze: avoid compile error on systems\n\twithout cfi flash", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.11", "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>", "MIME-Version": "1.0", "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": "Use XILINX_FLASH_START to set/unset FLASH and RAMENV.\n\nError was:\nboard.c: In function 'board_init':\nboard.c:134: error: 'XILINX_FLASH_START' undeclared (first use in this function)\nboard.c:134: error: (Each undeclared identifier is reported only once\nboard.c:134: error: for each function it appears in.)\n\nSigned-off-by: Stephan Linz <linz@li-pro.net>\n---\n include/configs/microblaze-generic.h | 12 +++++++++---\n 1 files changed, 9 insertions(+), 3 deletions(-)", "diff": "diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h\nindex 5f16820..2ef7d62 100644\n--- a/include/configs/microblaze-generic.h\n+++ b/include/configs/microblaze-generic.h\n@@ -31,6 +31,15 @@\n #define\tCONFIG_MICROBLAZE\t1\n #define\tMICROBLAZE_V5\t\t1\n \n+/* linear flash memory */\n+#ifdef XILINX_FLASH_START\n+#define\tFLASH\n+#undef\tRAMENV\t/* hold environment in flash */\n+#else\n+#undef\tFLASH\n+#define\tRAMENV\t/* hold environment in RAM */\n+#endif\n+\n /* uart */\n #ifdef XILINX_UARTLITE_BASEADDR\n # define CONFIG_XILINX_UARTLITE\n@@ -164,9 +173,6 @@\n /* stack */\n #define\tCONFIG_SYS_INIT_SP_OFFSET\tCONFIG_SYS_MALLOC_BASE\n \n-/*#define\tRAMENV */\n-#define\tFLASH\n-\n #ifdef FLASH\n # define CONFIG_SYS_FLASH_BASE\t\tXILINX_FLASH_START\n # define CONFIG_SYS_FLASH_SIZE\t\tXILINX_FLASH_SIZE\n", "prefixes": [ "U-Boot", "2/3" ] }