Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/166375/?format=api
{ "id": 166375, "url": "http://patchwork.ozlabs.org/api/patches/166375/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1340307771-15204-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": "<1340307771-15204-2-git-send-email-linz@li-pro.net>", "list_archive_url": null, "date": "2012-06-21T19:42:51", "name": "[U-Boot,2/2] microblaze: Enable ubi support", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "ab7be7fecb4342f80633027f46f8d3a8777c72b7", "submitter": { "id": 5893, "url": "http://patchwork.ozlabs.org/api/people/5893/?format=api", "name": "Stephan Linz", "email": "linz@li-pro.net" }, "delegate": { "id": 1692, "url": "http://patchwork.ozlabs.org/api/users/1692/?format=api", "username": "monstr", "first_name": "Michal", "last_name": "Simek", "email": "monstr@monstr.eu" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1340307771-15204-2-git-send-email-linz@li-pro.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/166375/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/166375/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 8718BB6FA4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Jun 2012 05:43:10 +1000 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id B016628085;\n\tThu, 21 Jun 2012 21:43: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 JOYWLLmSgsb8; Thu, 21 Jun 2012 21:43:07 +0200 (CEST)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 9C5C828086;\n\tThu, 21 Jun 2012 21:43:05 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 27D7628087\n\tfor <u-boot@lists.denx.de>; Thu, 21 Jun 2012 21:43:01 +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 NRa6nf9GJaOl for <u-boot@lists.denx.de>;\n\tThu, 21 Jun 2012 21:43:00 +0200 (CEST)", "from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.161])\n\tby theia.denx.de (Postfix) with ESMTPS id 2E02928085\n\tfor <u-boot@lists.denx.de>; Thu, 21 Jun 2012 21:42:58 +0200 (CEST)", "from localhost.localdomain (i58828E5A.versanet.de [88.130.142.90])\n\tby smtp.strato.de (jorabe mo12) (RZmta 29.16 DYNA|AUTH)\n\twith ESMTPA id N0730ao5LIOejB ; Thu, 21 Jun 2012 21:42:58 +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+4RLunWeioNr2LcBsq9E=", "X-RZG-CLASS-ID": "mo00", "From": "Stephan Linz <linz@li-pro.net>", "To": "monstr@monstr.eu", "Date": "Thu, 21 Jun 2012 21:42:51 +0200", "Message-Id": "<1340307771-15204-2-git-send-email-linz@li-pro.net>", "X-Mailer": "git-send-email 1.7.0.4", "In-Reply-To": "<1340307771-15204-1-git-send-email-linz@li-pro.net>", "References": "<1340307771-15204-1-git-send-email-linz@li-pro.net>", "Cc": "Stephan Linz <linz@li-pro.net>, u-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH 2/2] microblaze: Enable ubi support", "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": "To save memory the UBIFS is disabled by default.\n\nThe original patch was introdused with commit:\n0114da7b06bd47b7f5c3f20a152dd11903b38fba\n\nSigned-off-by: Stephan Linz <linz@li-pro.net>\n---\n include/configs/microblaze-generic.h | 23 +++++++++++++++++++----\n 1 files changed, 19 insertions(+), 4 deletions(-)", "diff": "diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h\nindex 2ef7d62..90f97a1 100644\n--- a/include/configs/microblaze-generic.h\n+++ b/include/configs/microblaze-generic.h\n@@ -159,14 +159,13 @@\n \t\t(CONFIG_SYS_SDRAM_SIZE - GENERATED_GBL_DATA_SIZE)\n \n /* monitor code */\n-#define\tSIZE\t\t\t\t0x40000\n-#define\tCONFIG_SYS_MONITOR_LEN\t\tSIZE\n+#define\tCONFIG_SYS_MONITOR_LEN\t\t0x40000\n #define\tCONFIG_SYS_MONITOR_BASE\t\\\n \t\t(CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_GBL_DATA_OFFSET \\\n \t\t\t- CONFIG_SYS_MONITOR_LEN - GENERATED_BD_INFO_SIZE)\n #define\tCONFIG_SYS_MONITOR_END \\\n \t\t\t(CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)\n-#define\tCONFIG_SYS_MALLOC_LEN\t\tSIZE\n+#define\tCONFIG_SYS_MALLOC_LEN\t\t0x100000\n #define\tCONFIG_SYS_MALLOC_BASE \\\n \t\t\t(CONFIG_SYS_MONITOR_BASE - CONFIG_SYS_MALLOC_LEN)\n \n@@ -273,6 +272,8 @@\n # define CONFIG_CMD_FLASH\n # define CONFIG_CMD_IMLS\n # define CONFIG_CMD_JFFS2\n+# define CONFIG_CMD_UBI\n+# undef CONFIG_CMD_UBIFS\n \n # if !defined(RAMENV)\n # define CONFIG_CMD_SAVEENV\n@@ -285,7 +286,21 @@\n #endif\n \n #if defined(CONFIG_CMD_JFFS2)\n-/* JFFS2 partitions */\n+# define CONFIG_MTD_PARTITIONS\n+#endif\n+\n+#if defined(CONFIG_CMD_UBIFS)\n+# define CONFIG_CMD_UBI\n+# define CONFIG_LZO\n+#endif\n+\n+#if defined(CONFIG_CMD_UBI)\n+# define CONFIG_MTD_PARTITIONS\n+# define CONFIG_RBTREE\n+#endif\n+\n+#if defined(CONFIG_MTD_PARTITIONS)\n+/* MTD partitions */\n #define CONFIG_CMD_MTDPARTS\t/* mtdparts command line support */\n #define CONFIG_MTD_DEVICE\t/* needed for mtdparts commands */\n #define CONFIG_FLASH_CFI_MTD\n", "prefixes": [ "U-Boot", "2/2" ] }