[{"id":1764595,"web_url":"http://patchwork.ozlabs.org/comment/1764595/","msgid":"<6A2C052D-0C27-4566-B5A3-6DEC332633C4@theobroma-systems.com>","list_archive_url":null,"date":"2017-09-07T08:53:30","subject":"Re: [U-Boot] [PATCH] rockchip: firefly-rk3399: enable SPL_SYSRESET\n\tconfig","submitter":{"id":53488,"url":"http://patchwork.ozlabs.org/api/people/53488/","name":"Philipp Tomsich","email":"philipp.tomsich@theobroma-systems.com"},"content":"Kever,\n\nI’ll try to get this in for the current release (i.e get it applied and send out a pull\nlater this week), as it’s a defconfig-only bugfix for a regression introduced in the\ncurrent release.\n\nRegards,\nPhilipp.\n\n> On 7 Sep 2017, at 05:30, Kever Yang <kever.yang@rock-chips.com> wrote:\n> \n> After the patch below, we need to add SPL_SYSRESET for do_reset()\n> in SPL:\n> 87c16d4 drivers: spl: consistently use the $(SPL_TPL_) macro\n> \n> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>\n\nReviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n\n> ---\n> \n> configs/firefly-rk3399_defconfig | 3 ++-\n> 1 file changed, 2 insertions(+), 1 deletion(-)\n> \n> diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig\n> index d8ea4cb..eead166 100644\n> --- a/configs/firefly-rk3399_defconfig\n> +++ b/configs/firefly-rk3399_defconfig\n> @@ -9,7 +9,6 @@ CONFIG_DEFAULT_DEVICE_TREE=\"rk3399-firefly\"\n> CONFIG_DEBUG_UART=y\n> CONFIG_FIT=y\n> CONFIG_SPL_LOAD_FIT=y\n> -CONFIG_ENV_IS_IN_MMC=y\n> CONFIG_SPL_FIT_GENERATOR=\"board/rockchip/evb_rk3399/mk_fit_atf.sh\"\n> # CONFIG_DISPLAY_CPUINFO is not set\n> CONFIG_SPL_STACK_R=y\n> @@ -36,6 +35,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y\n> CONFIG_CMD_TIME=y\n> CONFIG_SPL_OF_CONTROL=y\n> CONFIG_OF_SPL_REMOVE_PROPS=\"pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents\"\n> +CONFIG_ENV_IS_IN_MMC=y\n> CONFIG_REGMAP=y\n> CONFIG_SPL_REGMAP=y\n> CONFIG_SYSCON=y\n> @@ -70,6 +70,7 @@ CONFIG_DEBUG_UART_CLOCK=24000000\n> CONFIG_DEBUG_UART_SHIFT=2\n> CONFIG_SYS_NS16550=y\n> CONFIG_SYSRESET=y\n> +CONFIG_SPL_SYSRESET=y\n> CONFIG_USB=y\n> CONFIG_USB_XHCI_HCD=y\n> CONFIG_USB_XHCI_DWC3=y\n> -- \n> 1.9.1\n>","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 3xnvPd2Jpjz9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 18:53:41 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid D2636C21E2C; Thu,  7 Sep 2017 08:53:39 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5086DC21C97;\n\tThu,  7 Sep 2017 08:53:38 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid B4CFBC21C97; Thu,  7 Sep 2017 08:53:36 +0000 (UTC)","from mail.theobroma-systems.com (vegas.theobroma-systems.com\n\t[144.76.126.164])\n\tby lists.denx.de (Postfix) with ESMTPS id 6F909C21C72\n\tfor <u-boot@lists.denx.de>; Thu,  7 Sep 2017 08:53:36 +0000 (UTC)","from 89-104-28-141.customer.bnet.at ([89.104.28.141]:51898\n\thelo=[192.168.2.129]) by mail.theobroma-systems.com with esmtpsa\n\t(TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80)\n\t(envelope-from <philipp.tomsich@theobroma-systems.com>)\n\tid 1dpsZ1-00023X-Gx; Thu, 07 Sep 2017 10:53:31 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"*","X-Spam-Status":"No, score=1.0 required=5.0 tests=HK_NAME_DR autolearn=no\n\tautolearn_force=no version=3.4.0","Mime-Version":"1.0 (Mac OS X Mail 10.3 \\(3273\\))","From":"\"Dr. Philipp Tomsich\" <philipp.tomsich@theobroma-systems.com>","In-Reply-To":"<1504755006-6521-1-git-send-email-kever.yang@rock-chips.com>","Date":"Thu, 7 Sep 2017 10:53:30 +0200","Message-Id":"<6A2C052D-0C27-4566-B5A3-6DEC332633C4@theobroma-systems.com>","References":"<1504755006-6521-1-git-send-email-kever.yang@rock-chips.com>","To":"Kever Yang <kever.yang@rock-chips.com>","X-Mailer":"Apple Mail (2.3273)","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH] rockchip: firefly-rk3399: enable SPL_SYSRESET\n\tconfig","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>"}},{"id":1765050,"web_url":"http://patchwork.ozlabs.org/comment/1765050/","msgid":"<fe604469-4822-7004-e401-4d37d96094b4@rock-chips.com>","list_archive_url":null,"date":"2017-09-08T03:02:39","subject":"Re: [U-Boot] [PATCH] rockchip: firefly-rk3399: enable SPL_SYSRESET\n\tconfig","submitter":{"id":64532,"url":"http://patchwork.ozlabs.org/api/people/64532/","name":"Kever Yang","email":"kever.yang@rock-chips.com"},"content":"Hi Philipp,\n\n     I think this patch is not enough, pls drop this.\n\nI have send another patch to add SPL_SYSRESET for all Rockchip SoCs,\n\nbecause all of them need this, eg. rk3288 have many boards, all have \nthis issue.\n\n\nThanks,\n- Kever\nOn 09/07/2017 04:53 PM, Dr. Philipp Tomsich wrote:\n> Kever,\n>\n> I’ll try to get this in for the current release (i.e get it applied and send out a pull\n> later this week), as it’s a defconfig-only bugfix for a regression introduced in the\n> current release.\n>\n> Regards,\n> Philipp.\n>\n>> On 7 Sep 2017, at 05:30, Kever Yang <kever.yang@rock-chips.com> wrote:\n>>\n>> After the patch below, we need to add SPL_SYSRESET for do_reset()\n>> in SPL:\n>> 87c16d4 drivers: spl: consistently use the $(SPL_TPL_) macro\n>>\n>> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>\n> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n>\n>> ---\n>>\n>> configs/firefly-rk3399_defconfig | 3 ++-\n>> 1 file changed, 2 insertions(+), 1 deletion(-)\n>>\n>> diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig\n>> index d8ea4cb..eead166 100644\n>> --- a/configs/firefly-rk3399_defconfig\n>> +++ b/configs/firefly-rk3399_defconfig\n>> @@ -9,7 +9,6 @@ CONFIG_DEFAULT_DEVICE_TREE=\"rk3399-firefly\"\n>> CONFIG_DEBUG_UART=y\n>> CONFIG_FIT=y\n>> CONFIG_SPL_LOAD_FIT=y\n>> -CONFIG_ENV_IS_IN_MMC=y\n>> CONFIG_SPL_FIT_GENERATOR=\"board/rockchip/evb_rk3399/mk_fit_atf.sh\"\n>> # CONFIG_DISPLAY_CPUINFO is not set\n>> CONFIG_SPL_STACK_R=y\n>> @@ -36,6 +35,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y\n>> CONFIG_CMD_TIME=y\n>> CONFIG_SPL_OF_CONTROL=y\n>> CONFIG_OF_SPL_REMOVE_PROPS=\"pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents\"\n>> +CONFIG_ENV_IS_IN_MMC=y\n>> CONFIG_REGMAP=y\n>> CONFIG_SPL_REGMAP=y\n>> CONFIG_SYSCON=y\n>> @@ -70,6 +70,7 @@ CONFIG_DEBUG_UART_CLOCK=24000000\n>> CONFIG_DEBUG_UART_SHIFT=2\n>> CONFIG_SYS_NS16550=y\n>> CONFIG_SYSRESET=y\n>> +CONFIG_SPL_SYSRESET=y\n>> CONFIG_USB=y\n>> CONFIG_USB_XHCI_HCD=y\n>> CONFIG_USB_XHCI_DWC3=y\n>> -- \n>> 1.9.1\n>>\n>","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 3xpMZX3rT2z9sMN\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 13:03:00 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 361E9C21E4A; Fri,  8 Sep 2017 03:02:56 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id C9C62C21D19;\n\tFri,  8 Sep 2017 03:02:54 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid BDA2AC21D19; Fri,  8 Sep 2017 03:02:53 +0000 (UTC)","from regular1.263xmail.com (regular1.263xmail.com [211.150.99.136])\n\tby lists.denx.de (Postfix) with ESMTPS id CFCF6C21C5C\n\tfor <u-boot@lists.denx.de>; Fri,  8 Sep 2017 03:02:52 +0000 (UTC)","from kever.yang?rock-chips.com (unknown [192.168.165.141])\n\tby regular1.263xmail.com (Postfix) with ESMTP id 59E8A78;\n\tFri,  8 Sep 2017 11:02:48 +0800 (CST)","from [192.168.60.65] (localhost [127.0.0.1])\n\tby smtp.263.net (Postfix) with ESMTPA id 47A2840D;\n\tFri,  8 Sep 2017 11:02:42 +0800 (CST)","from [192.168.60.65] (unknown [103.29.142.67])\n\tby smtp.263.net (Postfix) whith ESMTP id 4201TT7WUA;\n\tFri, 08 Sep 2017 11:02:47 +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.0 required=5.0 tests=RCVD_IN_DNSWL_NONE\n\tautolearn=unavailable autolearn_force=no version=3.4.0","X-263anti-spam":"KSV:0;BIG:0;","X-MAIL-GRAY":"0","X-MAIL-DELIVERY":"1","X-KSVirus-check":"0","X-ADDR-CHECKED4":"1","X-ABS-CHECKED":"1","X-SKE-CHECKED":"1","X-ANTISPAM-LEVEL":"2","X-RL-SENDER":"kever.yang@rock-chips.com","X-FST-TO":"yamada.masahiro@socionext.com","X-SENDER-IP":"103.29.142.67","X-LOGIN-NAME":"kever.yang@rock-chips.com","X-UNIQUE-TAG":"<75e089ed3b430528e1c11bce1aa4f84f>","X-ATTACHMENT-NUM":"0","X-SENDER":"yk@rock-chips.com","X-DNS-TYPE":"0","To":"\"Dr. Philipp Tomsich\" <philipp.tomsich@theobroma-systems.com>","References":"<1504755006-6521-1-git-send-email-kever.yang@rock-chips.com>\n\t<6A2C052D-0C27-4566-B5A3-6DEC332633C4@theobroma-systems.com>","From":"Kever Yang <kever.yang@rock-chips.com>","Message-ID":"<fe604469-4822-7004-e401-4d37d96094b4@rock-chips.com>","Date":"Fri, 8 Sep 2017 11:02:39 +0800","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101\n\tThunderbird/45.8.0","MIME-Version":"1.0","In-Reply-To":"<6A2C052D-0C27-4566-B5A3-6DEC332633C4@theobroma-systems.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH] rockchip: firefly-rk3399: enable SPL_SYSRESET\n\tconfig","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-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]