Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/806669/?format=api
{ "id": 806669, "url": "http://patchwork.ozlabs.org/api/patches/806669/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1503939753-15164-4-git-send-email-jteki@openedev.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": "<1503939753-15164-4-git-send-email-jteki@openedev.com>", "list_archive_url": null, "date": "2017-08-28T17:02:33", "name": "[U-Boot,3/3] rk3288: spl: Add dram_init_banksize", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "9237dc66f138215b4d2c5641cf94effcf5ed7df7", "submitter": { "id": 20045, "url": "http://patchwork.ozlabs.org/api/people/20045/?format=api", "name": "Jagan Teki", "email": "jagannadh.teki@gmail.com" }, "delegate": { "id": 69486, "url": "http://patchwork.ozlabs.org/api/users/69486/?format=api", "username": "ptomsich", "first_name": "Philipp", "last_name": "Tomsich", "email": "philipp.tomsich@theobroma-systems.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1503939753-15164-4-git-send-email-jteki@openedev.com/mbox/", "series": [ { "id": 219, "url": "http://patchwork.ozlabs.org/api/series/219/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=219", "date": "2017-08-28T17:02:30", "name": "rk3288: Falcon mode support", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/219/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/806669/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806669/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\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"aa5L8+Z0\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgynP4VMSz9sNn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 03:05:13 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 53620C22577; Mon, 28 Aug 2017 17:04:13 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id DB350C22581;\n\tMon, 28 Aug 2017 17:03:51 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid DAB28C2256C; Mon, 28 Aug 2017 17:03:17 +0000 (UTC)", "from mail-pf0-f193.google.com (mail-pf0-f193.google.com\n\t[209.85.192.193])\n\tby lists.denx.de (Postfix) with ESMTPS id BA1E2C22572\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 17:03:16 +0000 (UTC)", "by mail-pf0-f193.google.com with SMTP id c28so687310pfe.0\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 10:03:16 -0700 (PDT)", "from localhost.localdomain ([115.97.191.18])\n\tby smtp.gmail.com with ESMTPSA id\n\tg67sm1381528pfk.174.2017.08.28.10.03.11\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 28 Aug 2017 10:03:14 -0700 (PDT)" ], "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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=7hS6LF7/W3GAE7rNkG7mb/lV/gif2LjKvTqxlzuXFhA=;\n\tb=aa5L8+Z0RZSVWo43MoFpiLoNhZaHeb7eRhHgSFYd7EDhZB4XRswY+zaYoxc3XmFu5J\n\tHZtJZzCygMjVZYFYI7U7JHfzfSkZ4lypkqKhVP5d+kkjtuzO9SJoiJi9iB01hO2ckGi+\n\t9N+KKyeFrmb/7LZIiJbJh7rolyA6rtBRV0gNVY5t71ToCmY4PFudmLw1BVS7Y6R1ktVD\n\tJ5nJ9enWcS08cHYOh/msshCdzq3Wtv7wFoiUJSNX+7hw9P8HrpIgrNnLHeVM9HQbmReX\n\tzQIDMbsroBwCYftIp/gIpeHTYXc7l0SJwAISOa0cRZI6MT2uRxMUMH7PYwReaNbkmC9h\n\tlZ9Q==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=7hS6LF7/W3GAE7rNkG7mb/lV/gif2LjKvTqxlzuXFhA=;\n\tb=g+uyhwNq6LvFXj1SVuqYYJZr43K896bAnJ/jG+ErgJFsXmnqrzVw/L/gCphhE6KwVk\n\t7KvQu/EWq/jmZnc+7WmVSUzYNWCCnkXODuH0YQRNJy/BEVt2SU+lDU8CM+uQidB/uY1s\n\t0Q9Tbag1awrzu48etTNz0D1iZsdCv2AkaQVW3AOASH9URVCmzfkxLEcBiqERaNIweWpG\n\t+cRErleKts6tjWjlT7AtCw9u5YAUbQDYMhyEin7XhIiXu9DSBqSsFDTECW/WpwZambj+\n\tSkYBwkj685pRlPk2VMpmLqCEXylI7ESbth//LaydhnOCY2jS/HdMdb/durzIsuvVAxjH\n\tcqBQ==", "X-Gm-Message-State": "AHYfb5h30YL9T+cjufVSR+/OAbbrZHRd/HbgOhVMtlMOcyBU3Uu+8ibG\n\t6lUnsBAx0yDtTV5G", "X-Received": "by 10.84.232.129 with SMTP id i1mr1480131plk.399.1503939795398; \n\tMon, 28 Aug 2017 10:03:15 -0700 (PDT)", "From": "Jagan Teki <jagannadh.teki@gmail.com>", "X-Google-Original-From": "Jagan Teki <jteki@openedev.com>", "To": "Simon Glass <sjg@chromium.org>", "Date": "Mon, 28 Aug 2017 22:32:33 +0530", "Message-Id": "<1503939753-15164-4-git-send-email-jteki@openedev.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1503939753-15164-1-git-send-email-jteki@openedev.com>", "References": "<1503939753-15164-1-git-send-email-jteki@openedev.com>", "Cc": "u-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH 3/3] rk3288: spl: Add dram_init_banksize", "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: Jagan Teki <jagan@amarulasolutions.com>\n\nFalcon mode, is updating DDR dt node configuration through\nspl_fixup_fdt() so add appropriate DDR base and size through\ndram_init_banksize.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\n---\n arch/arm/mach-rockchip/rk3288-board-spl.c | 17 +++++++++++++++++\n 1 file changed, 17 insertions(+)", "diff": "diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c\nindex febc1ef..9eee9c5 100644\n--- a/arch/arm/mach-rockchip/rk3288-board-spl.c\n+++ b/arch/arm/mach-rockchip/rk3288-board-spl.c\n@@ -19,7 +19,9 @@\n #include <asm/arch/clock.h>\n #include <asm/arch/hardware.h>\n #include <asm/arch/periph.h>\n+#include <asm/arch/pmu_rk3288.h>\n #include <asm/arch/sdram.h>\n+#include <asm/arch/sdram_common.h>\n #include <asm/arch/timer.h>\n #include <dm/pinctrl.h>\n #include <dm/root.h>\n@@ -329,3 +331,18 @@ err:\n \t/* No way to report error here */\n \thang();\n }\n+\n+#ifdef CONFIG_SPL_OS_BOOT\n+\n+#define PMU_BASE\t\t0xff730000\n+int dram_init_banksize(void)\n+{\n+\tstruct rk3288_pmu *const pmu = (void *)PMU_BASE;\n+\tsize_t size = rockchip_sdram_size((phys_addr_t)&pmu->sys_reg[2]);\n+\n+\tgd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;\n+\tgd->bd->bi_dram[0].size = size;\n+\n+\treturn 0;\n+}\n+#endif\n", "prefixes": [ "U-Boot", "3/3" ] }