{"id":833240,"url":"http://patchwork.ozlabs.org/api/1.2/patches/833240/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1509606996-10905-1-git-send-email-kever.yang@rock-chips.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/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":"<1509606996-10905-1-git-send-email-kever.yang@rock-chips.com>","list_archive_url":null,"date":"2017-11-02T07:16:34","name":"[U-Boot,1/3] spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip","commit_ref":"8f4d62b403db45dfa8b1cadb9da9096c79b7df47","pull_url":null,"state":"accepted","archived":false,"hash":"8c295b2e0b832ee617c5947498467501856bc246","submitter":{"id":64532,"url":"http://patchwork.ozlabs.org/api/1.2/people/64532/?format=json","name":"Kever Yang","email":"kever.yang@rock-chips.com"},"delegate":{"id":69486,"url":"http://patchwork.ozlabs.org/api/1.2/users/69486/?format=json","username":"ptomsich","first_name":"Philipp","last_name":"Tomsich","email":"philipp.tomsich@theobroma-systems.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1509606996-10905-1-git-send-email-kever.yang@rock-chips.com/mbox/","series":[{"id":11449,"url":"http://patchwork.ozlabs.org/api/1.2/series/11449/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=11449","date":"2017-11-02T07:16:34","name":"[U-Boot,1/3] spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip","version":1,"mbox":"http://patchwork.ozlabs.org/series/11449/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/833240/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/833240/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=\"FP/NEghL\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3ySGcK749mz9t2V\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  2 Nov 2017 18:17:04 +1100 (AEDT)","by lists.denx.de (Postfix, from userid 105)\n\tid 44238C21DB9; Thu,  2 Nov 2017 07:16:56 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 9C4C8C21C35;\n\tThu,  2 Nov 2017 07:16:53 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 30497C21C29; Thu,  2 Nov 2017 07:16:51 +0000 (UTC)","from mail-pf0-f195.google.com (mail-pf0-f195.google.com\n\t[209.85.192.195])\n\tby lists.denx.de (Postfix) with ESMTPS id EBE6FC21C29\n\tfor <u-boot@lists.denx.de>; Thu,  2 Nov 2017 07:16:48 +0000 (UTC)","by mail-pf0-f195.google.com with SMTP id b85so3912829pfj.13\n\tfor <u-boot@lists.denx.de>; Thu, 02 Nov 2017 00:16:48 -0700 (PDT)","from localhost.localdomain ([103.29.142.67])\n\tby smtp.gmail.com with ESMTPSA id\n\tf11sm3614271pgp.48.2017.11.02.00.16.43\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 02 Nov 2017 00:16:45 -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=RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id;\n\tbh=VQGL2iBppMI28NeM4xf980tAPxHlfWUOfba7jmWzapQ=;\n\tb=FP/NEghLZIoXCxnj5Sb4UItZZkYLrlLOHMr9/QB2JXlatOYEaeCqWD0VS67MsUaxIb\n\tN9NeeCx396Ep+p2vA9TctUrWPg0o57iqiRvqkao61moEtYVFIxoIVMgyF+bPXku81ztT\n\tdvBqkmbiB7SZpQZZs11o1hK4qXo/i+NUn3d7wjMs+hJMQxWvBnxB34t3YBIWdQD5DPY7\n\t+tK7FsExiJ55kkZQlq/TpQHXSC/zHAbj5mHIZY6m/bh07PCvu3N5kqxeImb0c28OPnPX\n\t6kRWf/pvUiNqIANzsluWf+mTH3iF0id+pNGkTVCTO1HGePiAZVSD5TplSI8250n/db59\n\tTUBA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id;\n\tbh=VQGL2iBppMI28NeM4xf980tAPxHlfWUOfba7jmWzapQ=;\n\tb=doGddf1jC934LO3P/0CKBr+xr2dQH/2d1w/g9EtjNlNt4N3dBkgQ2k0YQXtKz/2NjK\n\taq2GO9fdUyIXyWWjsFAJHCbveN7IGM+5dZJahHJ41jq44P1EJ9lSGGHs5aaw5qWSG/p9\n\tmuSJdEwsFP5vCvVpY8ed24Kv2D45GmrwQ/452Tz2KO2gBJHDfUwtppYlVIn78HLMq1TL\n\tz0qz4YR+9M4z9m1OqcR94C6fkqK26OPHGkTY5YAv+Hiais0CohFy8iHG5+f6YrC42nSf\n\tIGx1LVj3h1Qv1PXAKMOi/r4PerVmEdpgL7Z/bY/1pIJ5O1hOlVTgnOiNfIJRhALaO8JD\n\tOtSw==","X-Gm-Message-State":"AMCzsaUQIQmJF/a8L/IxWZNG2+5MZNc7cTy4BkPH0Of0hxqcyFHlwePW\n\tDaSa9ZL4ybOC4rSjPB0kNlbIPQ==","X-Google-Smtp-Source":"ABhQp+RP+KYGzIuS7caiXE6OFZLHB6V/rdegqawlPDynCUcm6wjIiG+iZp6CWCrDRjRjV/I99SUq7w==","X-Received":"by 10.159.206.193 with SMTP id x1mr2303087plo.319.1509607006997; \n\tThu, 02 Nov 2017 00:16:46 -0700 (PDT)","From":"Kever Yang <kever.yang@rock-chips.com>","To":"u-boot@lists.denx.de","Date":"Thu,  2 Nov 2017 15:16:34 +0800","Message-Id":"<1509606996-10905-1-git-send-email-kever.yang@rock-chips.com>","X-Mailer":"git-send-email 1.9.1","Cc":"Stefan Agner <stefan.agner@toradex.com>","Subject":"[U-Boot] [PATCH 1/3] spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to\n\t0x4000 for rockchip","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":"Rockchip use a 'loader2' partition for U-Boot, so u-boot.bin or\nu-boot.itb load by SPL need to locate at0x4000. Detail here:\nhttp://opensource.rock-chips.com/wiki_Boot_option\n\nSigned-off-by: Kever Yang <kever.yang@rock-chips.com>\n---\n\n common/spl/Kconfig | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)","diff":"diff --git a/common/spl/Kconfig b/common/spl/Kconfig\nindex 0bd8370..e987c07 100644\n--- a/common/spl/Kconfig\n+++ b/common/spl/Kconfig\n@@ -142,11 +142,12 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR\n \tdefault 0x50 if ARCH_SUNXI\n \tdefault 0x75 if ARCH_DAVINCI\n \tdefault 0x8a if ARCH_MX6\n-\tdefault 0x100 if ARCH_ROCKCHIP || ARCH_UNIPHIER\n+\tdefault 0x100 if ARCH_UNIPHIER\n \tdefault 0x140 if ARCH_MVEBU\n \tdefault 0x200 if ARCH_SOCFPGA || ARCH_AT91\n \tdefault 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \\\n \t\t         OMAP54XX || AM33XX || AM43XX\n+\tdefault 0x4000 if ARCH_ROCKCHIP\n \thelp\n \t  Address on the MMC to load U-Boot from, when the MMC is being used\n \t  in raw mode. Units: MMC sectors (1 sector = 512 bytes).\n","prefixes":["U-Boot","1/3"]}