Re: [PATCH v2 03/12] Add initial RISC-V architecture support

2018-06-29 Thread Antony Pavlov
On Fri, 29 Jun 2018 13:32:55 +0200 Sascha Hauer wrote: > On Fri, Jun 29, 2018 at 01:27:10PM +0300, Antony Pavlov wrote: > > On Fri, 29 Jun 2018 09:29:08 +0200 > > > > > > Do you need these __bare_init* stuff? If not I would prefer to remove > > > it. > > > > > > Hmmm. You are right! I have

Re: [PATCH v2 03/12] Add initial RISC-V architecture support

2018-06-29 Thread Sascha Hauer
On Fri, Jun 29, 2018 at 01:27:10PM +0300, Antony Pavlov wrote: > On Fri, 29 Jun 2018 09:29:08 +0200 > > > > Do you need these __bare_init* stuff? If not I would prefer to remove > > it. > > > Hmmm. You are right! I have not realized PBL for RISC-V yet so it's better > to drop all these

Re: [PATCH v2 03/12] Add initial RISC-V architecture support

2018-06-29 Thread Antony Pavlov
On Fri, 29 Jun 2018 09:29:08 +0200 Sascha Hauer wrote: > On Thu, Jun 28, 2018 at 10:39:44AM +0300, Antony Pavlov wrote: > > Signed-off-by: Antony Pavlov > > --- > > +++ b/arch/riscv/lib/barebox.lds.S > > @@ -0,0 +1,89 @@ > > +/* > > + * Copyright (C) 2016 Antony Pavlov > > + * > > + * This

Re: [PATCH v2 03/12] Add initial RISC-V architecture support

2018-06-29 Thread Sascha Hauer
On Thu, Jun 28, 2018 at 10:39:44AM +0300, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > +++ b/arch/riscv/lib/barebox.lds.S > @@ -0,0 +1,89 @@ > +/* > + * Copyright (C) 2016 Antony Pavlov > + * > + * This file is part of barebox. > + * See file CREDITS for list of people who

[PATCH v2 03/12] Add initial RISC-V architecture support

2018-06-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 62 +++ arch/riscv/Makefile | 72 ++ arch/riscv/boot/Makefile | 2 + arch/riscv/boot/main_entry.c | 40 + arch/riscv/boot/start.S