{"id":812857,"url":"http://patchwork.ozlabs.org/api/covers/812857/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/1505224549-29936-1-git-send-email-andy.yan@rock-chips.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/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":"<1505224549-29936-1-git-send-email-andy.yan@rock-chips.com>","list_archive_url":null,"date":"2017-09-12T13:55:49","name":"[U-Boot,0/3] support enter download mode on rockchip platform","submitter":{"id":65124,"url":"http://patchwork.ozlabs.org/api/people/65124/?format=json","name":"Andy Yan","email":"andy.yan@rock-chips.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/1505224549-29936-1-git-send-email-andy.yan@rock-chips.com/mbox/","series":[{"id":2709,"url":"http://patchwork.ozlabs.org/api/series/2709/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2709","date":"2017-09-12T13:55:49","name":"support enter download mode on rockchip platform","version":1,"mbox":"http://patchwork.ozlabs.org/series/2709/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/812857/comments/","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>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xs5tg2BXTz9s7B\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 23:56:27 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 1322CC2215C; Tue, 12 Sep 2017 13:56:08 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id EDA9FC21E9C;\n\tTue, 12 Sep 2017 13:56:05 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 2B724C21E9C; Tue, 12 Sep 2017 13:56:04 +0000 (UTC)","from regular1.263xmail.com (regular1.263xmail.com [211.150.99.140])\n\tby lists.denx.de (Postfix) with ESMTPS id 4651CC21DE3\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 13:56:03 +0000 (UTC)","from andy.yan?rock-chips.com (unknown [192.168.167.29])\n\tby regular1.263xmail.com (Postfix) with ESMTP id BC4A84AA4\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 21:55:54 +0800 (CST)","from localhost.localdomain (localhost [127.0.0.1])\n\tby smtp.263.net (Postfix) with ESMTPA id 90214308;\n\tTue, 12 Sep 2017 21:55:56 +0800 (CST)","from localhost.localdomain (unknown [58.22.7.114])\n\tby smtp.263.net (Postfix) whith ESMTP id 12229N2ZPF;\n\tTue, 12 Sep 2017 21:55:57 +0800 (CST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.6 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_WEB autolearn=no\n\tautolearn_force=no version=3.4.0","X-263anti-spam":"KSV:0;","X-MAIL-GRAY":"0","X-MAIL-DELIVERY":"1","X-KSVirus-check":"0","X-ABS-CHECKED":"4","X-RL-SENDER":"andy.yan@rock-chips.com","X-FST-TO":"philipp.tomsich@theobroma-systems.com","X-SENDER-IP":"58.22.7.114","X-LOGIN-NAME":"andy.yan@rock-chips.com","X-UNIQUE-TAG":"<b4d73d4977f0d1e782cdd6c607a57763>","X-ATTACHMENT-NUM":"0","X-SENDER":"yxj@rock-chips.com","X-DNS-TYPE":"0","From":"Andy Yan <andy.yan@rock-chips.com>","To":"philipp.tomsich@theobroma-systems.com,\n\tsjg@chromium.org","Date":"Tue, 12 Sep 2017 21:55:49 +0800","Message-Id":"<1505224549-29936-1-git-send-email-andy.yan@rock-chips.com>","X-Mailer":"git-send-email 2.7.4","Cc":"u-boot@lists.denx.de, Andy Yan <andy.yan@rock-chips.com>","Subject":"[U-Boot] [PATCH 0/3] support enter download mode on rockchip\n\tplatform","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":"Most rockchip platform based boards use a key to instruct\nthe board enter download firmware mode, some boards use a\nadc to detect the key status, and some use a gpio.\n\nThis series try to implement all the download mode releated\nfunctions.\n\n\nAndy Yan (3):\n  rockchip: make boot_mode releated codes reused across all platforms\n  rockchip: add support for backing to bootrom download mode\n  rockchip: check download key before bootup\n\n arch/arm/include/asm/arch-rockchip/boot_mode.h |  6 +++\n arch/arm/include/asm/arch-rockchip/bootrom.h   |  2 +-\n arch/arm/mach-rockchip/Kconfig                 | 15 +++++++\n arch/arm/mach-rockchip/Makefile                |  5 ++-\n arch/arm/mach-rockchip/boot_mode.c             | 58 ++++++++++++++++++++++++++\n arch/arm/mach-rockchip/bootrom.c               |  2 +-\n arch/arm/mach-rockchip/rk3036-board.c          | 24 -----------\n arch/arm/mach-rockchip/rk322x-board.c          | 24 -----------\n arch/arm/mach-rockchip/rk3288-board.c          | 25 -----------\n arch/arm/mach-rockchip/rk3399-board.c          | 14 +++++++\n arch/arm/mach-rockchip/save_boot_param.S       | 56 +++++++++++++++++++++----\n board/rockchip/evb_rk3399/evb-rk3399.c         | 28 +++++++++++++\n 12 files changed, 174 insertions(+), 85 deletions(-)\n create mode 100644 arch/arm/mach-rockchip/boot_mode.c\n create mode 100644 arch/arm/mach-rockchip/rk3399-board.c"}