[{"id":1774385,"web_url":"http://patchwork.ozlabs.org/comment/1774385/","msgid":"<CAPnjgZ1cgVLDut16k1hOt0rkAVoNeo0Bthe3vta9r2cn64ROkg@mail.gmail.com>","list_archive_url":null,"date":"2017-09-25T02:12:34","subject":"Re: [U-Boot] [PATCH 3/3] rockchip: back-to-bootrom: allow passing a\n\tcmd to the bootrom","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 15 September 2017 at 06:02, Philipp Tomsich\n<philipp.tomsich@theobroma-systems.com> wrote:\n> The BROM supports forcing it to enter download-mode, if an appropriate\n> result/cmd-word is returned to it.  There already is a series to\n> support this in review, so this prepares the (newly C-version) of the\n> back-to-bootrom code to accept a cmd to passed on to the BROM.\n>\n> All the existing call-sites are adjusted to match the changed function\n> signature.\n>\n> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n> ---\n>\n>  arch/arm/include/asm/arch-rockchip/bootrom.h | 5 ++++-\n>  arch/arm/mach-rockchip/bootrom.c             | 4 ++--\n>  arch/arm/mach-rockchip/rk3036-board-spl.c    | 2 +-\n>  arch/arm/mach-rockchip/rk3188-board-tpl.c    | 2 +-\n>  arch/arm/mach-rockchip/rk322x-board-spl.c    | 2 +-\n>  arch/arm/mach-rockchip/rk3288-board-spl.c    | 4 ++--\n>  arch/arm/mach-rockchip/rk3368-board-tpl.c    | 2 +-\n>  arch/arm/mach-rockchip/rk3399-board-spl.c    | 2 +-\n>  8 files changed, 13 insertions(+), 10 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>","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=google.com header.i=@google.com\n\theader.b=\"LWdlvmVg\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"Okzj2E4j\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0pQ035y1z9t30\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 12:46:48 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 37477C221C4; Mon, 25 Sep 2017 02:25:51 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E7E9AC221B6;\n\tMon, 25 Sep 2017 02:25:44 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 2B6D1C221A0; Mon, 25 Sep 2017 02:13:00 +0000 (UTC)","from mail-qt0-f181.google.com (mail-qt0-f181.google.com\n\t[209.85.216.181])\n\tby lists.denx.de (Postfix) with ESMTPS id 1497BC220C7\n\tfor <u-boot@lists.denx.de>; Mon, 25 Sep 2017 02:12:56 +0000 (UTC)","by mail-qt0-f181.google.com with SMTP id o3so5555523qte.6\n\tfor <u-boot@lists.denx.de>; Sun, 24 Sep 2017 19:12:56 -0700 (PDT)","by 10.200.37.200 with HTTP; Sun, 24 Sep 2017 19:12:34 -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.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\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=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=QXnbVug6psC7UALNyi+xwS/8D6VF9Gdne73xukiM5m0=;\n\tb=LWdlvmVg5526iV/M5z+0VjYotPHuhUhshTQ0l5IYDjZdACudqsKZ1+o3y85XGKsEx3\n\tDnZnyZSxHI5fDNpypX7cD/eRvlR4GdnlCY1lD+L5PTq62nUbJH9vC3r8la1KLS6mKkpX\n\td+6BmHsVx9fnTAfXsmvOFOK1ZPLob2jjCw4gEfnznNCBZidNf4o5Yx1geO595caesFuz\n\t92Apens/g1XLBKXmPU0ZfQ9UcNiQyufKojkZeahVMFQB8QVTghyVH16ngQXWi9bLhyB/\n\tSyKCaYbN9N6cnN8fDqJraiUEc32mRuFOMR6WTIQwv/lAqEncld8ocAnh79idPQFpFzQC\n\tbp6A==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=QXnbVug6psC7UALNyi+xwS/8D6VF9Gdne73xukiM5m0=;\n\tb=Okzj2E4jlfZSdtcKc3k8iz7r2pPCNDO4Ati/jgWYX7rL2ulvQOTJCgDGgyoOFXJUyj\n\thzEdMe6/9m57ENDpjd666lJuLuPVvdspyhMYRuLJwSEG9WwMiSBd+WtVxbXzvPD2lSGa\n\t/ckCotsnAkebrFhA2iOF7NSkBxKqPVfqHkE7Y="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=QXnbVug6psC7UALNyi+xwS/8D6VF9Gdne73xukiM5m0=;\n\tb=IhUtoO5yOAKITj3mEGcsl9OKOjvHr7zy45zoaM64T8EcISdjfAPU8Q5laKSA66Ew/l\n\t8wh6uSIXSE3TC2wDXFx8/vfR5HqX3EPVI4t8HyLPgTA4HbhZxY/t2SJJkaDqHTWG0SKm\n\tSEZOGdDMAMjZSVEvBeo4ebMQOCYA9i9aPgBwsCwSwAaPiEtPknUL/0JBgQNRI0Le8Gaf\n\tD7o15ROXiRsVz+VKPFbQK+kE8JyACAcgB7eE8zKRzGCv2yWf5xudcNYAgo+sQgr+gxha\n\tn2Nx+ODvni7vhysomFmesgh4dfbuEfqvdFWpOUQoMf5/sivdSjpv7yTvjBiP9e2EZoGH\n\tI9uQ==","X-Gm-Message-State":"AHPjjUjKkZ9oHxAPmDPpEEpzEuZXNySGbcYw9iUdrz9dHjyQbLkvUIL4\n\tOK+9ejsRL3NaIVOI0onHmQufSHEz5WlQ5z6UYZuqL6Ln","X-Google-Smtp-Source":"AOwi7QDWH4C9dw0eDVHffSFOoFBc/z8I729QHbckFErYTG+W3fEPDGywSgxaN2eHmj/SA51PT9MoUBxB3y0cyoE3smw=","X-Received":"by 10.200.5.132 with SMTP id a4mr9277788qth.318.1506305574756;\n\tSun, 24 Sep 2017 19:12:54 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1505476946-64991-4-git-send-email-philipp.tomsich@theobroma-systems.com>","References":"<1505476946-64991-1-git-send-email-philipp.tomsich@theobroma-systems.com>\n\t<1505476946-64991-4-git-send-email-philipp.tomsich@theobroma-systems.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sun, 24 Sep 2017 22:12:34 -0400","X-Google-Sender-Auth":"5UaE-fXh6N6Wwzoz02RbUbpRPSc","Message-ID":"<CAPnjgZ1cgVLDut16k1hOt0rkAVoNeo0Bthe3vta9r2cn64ROkg@mail.gmail.com>","To":"Philipp Tomsich <philipp.tomsich@theobroma-systems.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>,\n\tKlaus Goger <klaus.goger@theobroma-systems.com>,\n\tAndy Yan <andy.yan@rock-chips.com>","Subject":"Re: [U-Boot] [PATCH 3/3] rockchip: back-to-bootrom: allow passing a\n\tcmd to the bootrom","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>","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>"}}]