* [PATCH 1/2] Revert "riscv: Allow use of reset drivers"
@ 2020-07-08 6:44 Bin Meng
2020-07-08 6:44 ` [PATCH 2/2] Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"" Bin Meng
2020-07-08 7:04 ` [PATCH 1/2] Revert "riscv: Allow use of reset drivers" Sean Anderson
0 siblings, 2 replies; 7+ messages in thread
From: Bin Meng @ 2020-07-08 6:44 UTC (permalink / raw)
To: u-boot
From: Bin Meng <bin.meng@windriver.com>
This reverts commit 958a3f464c7f8ef7e10db9feb663e9e80445ce2f.
A more appropriate change below is already in mainline.
Commit fd31e4fd184f ("riscv: Do not build reset.c if SYSRESET is on")
Revert this patch, so that U-Boot can be built successfully for
SiFive Fu540 board.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---
arch/riscv/lib/reset.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/riscv/lib/reset.c b/arch/riscv/lib/reset.c
index 6008bbe..8779c61 100644
--- a/arch/riscv/lib/reset.c
+++ b/arch/riscv/lib/reset.c
@@ -7,7 +7,6 @@
#include <command.h>
#include <hang.h>
-#ifndef CONFIG_SYSRESET
int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
printf("resetting ...\n");
@@ -17,4 +16,3 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
return 0;
}
-#endif
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] Revert "Revert "riscv: sifive: fu540: Add gpio-restart support""
2020-07-08 6:44 [PATCH 1/2] Revert "riscv: Allow use of reset drivers" Bin Meng
@ 2020-07-08 6:44 ` Bin Meng
2020-07-08 7:04 ` [PATCH 1/2] Revert "riscv: Allow use of reset drivers" Sean Anderson
1 sibling, 0 replies; 7+ messages in thread
From: Bin Meng @ 2020-07-08 6:44 UTC (permalink / raw)
To: u-boot
From: Bin Meng <bin.meng@windriver.com>
This reverts commit 23da3c682a84a2ad67a67287979dd4f5259ff607.
Now the build failure of sifive_fu540_defconfig board has been fixed,
revert this "revert patch".
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---
board/sifive/fu540/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig
index 86193d7..6f65681 100644
--- a/board/sifive/fu540/Kconfig
+++ b/board/sifive/fu540/Kconfig
@@ -65,5 +65,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
imply SMP
imply MISC
imply SIFIVE_OTP
+ imply SYSRESET
+ imply SYSRESET_GPIO
endif
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 1/2] Revert "riscv: Allow use of reset drivers"
2020-07-08 6:44 [PATCH 1/2] Revert "riscv: Allow use of reset drivers" Bin Meng
2020-07-08 6:44 ` [PATCH 2/2] Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"" Bin Meng
@ 2020-07-08 7:04 ` Sean Anderson
2020-07-16 1:36 ` Bin Meng
2020-07-16 4:10 ` Leo Liang
1 sibling, 2 replies; 7+ messages in thread
From: Sean Anderson @ 2020-07-08 7:04 UTC (permalink / raw)
To: u-boot
On 7/8/20 2:44 AM, Bin Meng wrote:
> From: Bin Meng <bin.meng@windriver.com>
>
> This reverts commit 958a3f464c7f8ef7e10db9feb663e9e80445ce2f.
>
> A more appropriate change below is already in mainline.
> Commit fd31e4fd184f ("riscv: Do not build reset.c if SYSRESET is on")
>
> Revert this patch, so that U-Boot can be built successfully for
> SiFive Fu540 board.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> ---
>
> arch/riscv/lib/reset.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/riscv/lib/reset.c b/arch/riscv/lib/reset.c
> index 6008bbe..8779c61 100644
> --- a/arch/riscv/lib/reset.c
> +++ b/arch/riscv/lib/reset.c
> @@ -7,7 +7,6 @@
> #include <command.h>
> #include <hang.h>
>
> -#ifndef CONFIG_SYSRESET
> int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
> {
> printf("resetting ...\n");
> @@ -17,4 +16,3 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
>
> return 0;
> }
> -#endif
>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] Revert "riscv: Allow use of reset drivers"
2020-07-08 7:04 ` [PATCH 1/2] Revert "riscv: Allow use of reset drivers" Sean Anderson
@ 2020-07-16 1:36 ` Bin Meng
[not found] ` <752D002CFF5D0F4FA35C0100F1D73F3FA472787E@ATCPCS16.andestech.com>
2020-07-16 4:10 ` Leo Liang
1 sibling, 1 reply; 7+ messages in thread
From: Bin Meng @ 2020-07-16 1:36 UTC (permalink / raw)
To: u-boot
Hi Rick,
On Wed, Jul 8, 2020 at 3:04 PM Sean Anderson <seanga2@gmail.com> wrote:
>
> On 7/8/20 2:44 AM, Bin Meng wrote:
> > From: Bin Meng <bin.meng@windriver.com>
> >
> > This reverts commit 958a3f464c7f8ef7e10db9feb663e9e80445ce2f.
> >
> > A more appropriate change below is already in mainline.
> > Commit fd31e4fd184f ("riscv: Do not build reset.c if SYSRESET is on")
> >
> > Revert this patch, so that U-Boot can be built successfully for
> > SiFive Fu540 board.
> >
> > Signed-off-by: Bin Meng <bin.meng@windriver.com>
> > ---
> >
> > arch/riscv/lib/reset.c | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/arch/riscv/lib/reset.c b/arch/riscv/lib/reset.c
> > index 6008bbe..8779c61 100644
> > --- a/arch/riscv/lib/reset.c
> > +++ b/arch/riscv/lib/reset.c
> > @@ -7,7 +7,6 @@
> > #include <command.h>
> > #include <hang.h>
> >
> > -#ifndef CONFIG_SYSRESET
> > int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
> > {
> > printf("resetting ...\n");
> > @@ -17,4 +16,3 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
> >
> > return 0;
> > }
> > -#endif
> >
>
> Reviewed-by: Sean Anderson <seanga2@gmail.com>
Could we get this series applied soon? thanks!
Regards,
Bin
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] Revert "riscv: Allow use of reset drivers"
2020-07-08 7:04 ` [PATCH 1/2] Revert "riscv: Allow use of reset drivers" Sean Anderson
2020-07-16 1:36 ` Bin Meng
@ 2020-07-16 4:10 ` Leo Liang
1 sibling, 0 replies; 7+ messages in thread
From: Leo Liang @ 2020-07-16 4:10 UTC (permalink / raw)
To: u-boot
On Wed, Jul 08, 2020 at 03:04:42AM -0400, Sean Anderson wrote:
> On 7/8/20 2:44 AM, Bin Meng wrote:
> > From: Bin Meng <bin.meng@windriver.com>
> >
> > This reverts commit 958a3f464c7f8ef7e10db9feb663e9e80445ce2f.
> >
> > A more appropriate change below is already in mainline.
> > Commit fd31e4fd184f ("riscv: Do not build reset.c if SYSRESET is on")
> >
> > Revert this patch, so that U-Boot can be built successfully for
> > SiFive Fu540 board.
> >
> > Signed-off-by: Bin Meng <bin.meng@windriver.com>
> > ---
> >
> > arch/riscv/lib/reset.c | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/arch/riscv/lib/reset.c b/arch/riscv/lib/reset.c
> > index 6008bbe..8779c61 100644
> > --- a/arch/riscv/lib/reset.c
> > +++ b/arch/riscv/lib/reset.c
> > @@ -7,7 +7,6 @@
> > #include <command.h>
> > #include <hang.h>
> >
> > -#ifndef CONFIG_SYSRESET
> > int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
> > {
> > printf("resetting ...\n");
> > @@ -17,4 +16,3 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
> >
> > return 0;
> > }
> > -#endif
> >
>
> Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Leo Liang <ycliang@andestech.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] Revert "riscv: Allow use of reset drivers"
[not found] ` <752D002CFF5D0F4FA35C0100F1D73F3FA472787E@ATCPCS16.andestech.com>
@ 2020-07-16 7:06 ` Rick Chen
2020-07-16 7:15 ` Bin Meng
0 siblings, 1 reply; 7+ messages in thread
From: Rick Chen @ 2020-07-16 7:06 UTC (permalink / raw)
To: u-boot
Hi Bin
> From: Bin Meng [mailto:bmeng.cn at gmail.com]
> Sent: Thursday, July 16, 2020 9:36 AM
> To: Sean Anderson
> Cc: Rick Jian-Zhi Chen(???); Tom Rini; U-Boot Mailing List; Bin Meng
> Subject: Re: [PATCH 1/2] Revert "riscv: Allow use of reset drivers"
>
> Hi Rick,
>
> On Wed, Jul 8, 2020 at 3:04 PM Sean Anderson <seanga2@gmail.com> wrote:
> >
> > On 7/8/20 2:44 AM, Bin Meng wrote:
> > > From: Bin Meng <bin.meng@windriver.com>
> > >
> > > This reverts commit 958a3f464c7f8ef7e10db9feb663e9e80445ce2f.
> > >
> > > A more appropriate change below is already in mainline.
> > > Commit fd31e4fd184f ("riscv: Do not build reset.c if SYSRESET is
> > > on")
> > >
> > > Revert this patch, so that U-Boot can be built successfully for
> > > SiFive Fu540 board.
> > >
> > > Signed-off-by: Bin Meng <bin.meng@windriver.com>
> > > ---
> > >
> > > arch/riscv/lib/reset.c | 2 --
> > > 1 file changed, 2 deletions(-)
> > >
> > > diff --git a/arch/riscv/lib/reset.c b/arch/riscv/lib/reset.c index
> > > 6008bbe..8779c61 100644
> > > --- a/arch/riscv/lib/reset.c
> > > +++ b/arch/riscv/lib/reset.c
> > > @@ -7,7 +7,6 @@
> > > #include <command.h>
> > > #include <hang.h>
> > >
> > > -#ifndef CONFIG_SYSRESET
> > > int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const
> > > argv[]) {
> > > printf("resetting ...\n");
> > > @@ -17,4 +16,3 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int
> > > argc, char *const argv[])
> > >
> > > return 0;
> > > }
> > > -#endif
> > >
> >
> > Reviewed-by: Sean Anderson <seanga2@gmail.com>
>
> Could we get this series applied soon? thanks!
>
OK.
But [PATCH 2/2] Revert "Revert "riscv: sifive: fu540: Add gpio-restart
support"" seem conflict with Pragnesh's [PATCH 2/2] riscv: sifive:
fu540: Enable SiFive PWM driver.
Would you please rebase with u-boot-riscv/master and send again ?
Thanks,
Rick
> Regards,
> Bin
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] Revert "riscv: Allow use of reset drivers"
2020-07-16 7:06 ` Rick Chen
@ 2020-07-16 7:15 ` Bin Meng
0 siblings, 0 replies; 7+ messages in thread
From: Bin Meng @ 2020-07-16 7:15 UTC (permalink / raw)
To: u-boot
Hi Rick,
On Thu, Jul 16, 2020 at 3:06 PM Rick Chen <rickchen36@gmail.com> wrote:
>
> Hi Bin
>
> > From: Bin Meng [mailto:bmeng.cn at gmail.com]
> > Sent: Thursday, July 16, 2020 9:36 AM
> > To: Sean Anderson
> > Cc: Rick Jian-Zhi Chen(???); Tom Rini; U-Boot Mailing List; Bin Meng
> > Subject: Re: [PATCH 1/2] Revert "riscv: Allow use of reset drivers"
> >
> > Hi Rick,
> >
> > On Wed, Jul 8, 2020 at 3:04 PM Sean Anderson <seanga2@gmail.com> wrote:
> > >
> > > On 7/8/20 2:44 AM, Bin Meng wrote:
> > > > From: Bin Meng <bin.meng@windriver.com>
> > > >
> > > > This reverts commit 958a3f464c7f8ef7e10db9feb663e9e80445ce2f.
> > > >
> > > > A more appropriate change below is already in mainline.
> > > > Commit fd31e4fd184f ("riscv: Do not build reset.c if SYSRESET is
> > > > on")
> > > >
> > > > Revert this patch, so that U-Boot can be built successfully for
> > > > SiFive Fu540 board.
> > > >
> > > > Signed-off-by: Bin Meng <bin.meng@windriver.com>
> > > > ---
> > > >
> > > > arch/riscv/lib/reset.c | 2 --
> > > > 1 file changed, 2 deletions(-)
> > > >
> > > > diff --git a/arch/riscv/lib/reset.c b/arch/riscv/lib/reset.c index
> > > > 6008bbe..8779c61 100644
> > > > --- a/arch/riscv/lib/reset.c
> > > > +++ b/arch/riscv/lib/reset.c
> > > > @@ -7,7 +7,6 @@
> > > > #include <command.h>
> > > > #include <hang.h>
> > > >
> > > > -#ifndef CONFIG_SYSRESET
> > > > int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const
> > > > argv[]) {
> > > > printf("resetting ...\n");
> > > > @@ -17,4 +16,3 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int
> > > > argc, char *const argv[])
> > > >
> > > > return 0;
> > > > }
> > > > -#endif
> > > >
> > >
> > > Reviewed-by: Sean Anderson <seanga2@gmail.com>
> >
> > Could we get this series applied soon? thanks!
> >
>
> OK.
>
> But [PATCH 2/2] Revert "Revert "riscv: sifive: fu540: Add gpio-restart
> support"" seem conflict with Pragnesh's [PATCH 2/2] riscv: sifive:
> fu540: Enable SiFive PWM driver.
>
> Would you please rebase with u-boot-riscv/master and send again ?
>
Sure will rebase.
Regards,
Bin
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-07-16 7:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 6:44 [PATCH 1/2] Revert "riscv: Allow use of reset drivers" Bin Meng
2020-07-08 6:44 ` [PATCH 2/2] Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"" Bin Meng
2020-07-08 7:04 ` [PATCH 1/2] Revert "riscv: Allow use of reset drivers" Sean Anderson
2020-07-16 1:36 ` Bin Meng
[not found] ` <752D002CFF5D0F4FA35C0100F1D73F3FA472787E@ATCPCS16.andestech.com>
2020-07-16 7:06 ` Rick Chen
2020-07-16 7:15 ` Bin Meng
2020-07-16 4:10 ` Leo Liang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.