[v5,0/6] riscv: sifive/fu540: SPI boot
mbox series

Message ID 20200715100903.161363-1-jagan@amarulasolutions.com
Headers show
Series
  • riscv: sifive/fu540: SPI boot
Related show

Message

Jagan Teki July 15, 2020, 10:08 a.m. UTC
Updated series with boot device detection directly
on spl_boot_device function instead of having separate
board driver.

Changes for v5:
- rebase on master
Changes for v4:
- fix typo and unneeded configs.
Changes for v3:
- fixed env definitions build
- added boot device detection in board
Changes for v2:
- fu540 board driver
- runtime bootmode detection
- rebase on Pragnesh v11 series

Any inputs?
Jagan.

Jagan Teki (6):
  sifive: fu540: Add runtime boot mode detection
  sifive: fu540: Add Booting from SPI
  env: Enable SPI flash env for SiFive FU540
  sifive: fu540: Mark the default env as SPI flash
  sifive: fu540: Add boot flash script offset, size
  sifive: fu540: Enable SF distro bootcmd

 arch/riscv/cpu/fu540/Kconfig                  | 13 ++++++
 .../dts/hifive-unleashed-a00-u-boot.dtsi      | 12 ++++++
 board/sifive/fu540/Kconfig                    |  1 +
 board/sifive/fu540/fu540.c                    | 25 ++++++++---
 configs/sifive_fu540_defconfig                |  4 ++
 doc/board/sifive/fu540.rst                    | 41 +++++++++++++++++++
 include/configs/sifive-fu540.h                |  7 +++-
 7 files changed, 96 insertions(+), 7 deletions(-)

Comments

Jagan Teki July 21, 2020, 6:25 a.m. UTC | #1
Hi Rick,

On Wed, Jul 15, 2020 at 3:39 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Updated series with boot device detection directly
> on spl_boot_device function instead of having separate
> board driver.
>
> Changes for v5:
> - rebase on master
> Changes for v4:
> - fix typo and unneeded configs.
> Changes for v3:
> - fixed env definitions build
> - added boot device detection in board
> Changes for v2:
> - fu540 board driver
> - runtime bootmode detection
> - rebase on Pragnesh v11 series
>
> Any inputs?
> Jagan.
>
> Jagan Teki (6):
>   sifive: fu540: Add runtime boot mode detection
>   sifive: fu540: Add Booting from SPI
>   env: Enable SPI flash env for SiFive FU540
>   sifive: fu540: Mark the default env as SPI flash
>   sifive: fu540: Add boot flash script offset, size
>   sifive: fu540: Enable SF distro bootcmd
>
>  arch/riscv/cpu/fu540/Kconfig                  | 13 ++++++
>  .../dts/hifive-unleashed-a00-u-boot.dtsi      | 12 ++++++
>  board/sifive/fu540/Kconfig                    |  1 +
>  board/sifive/fu540/fu540.c                    | 25 ++++++++---
>  configs/sifive_fu540_defconfig                |  4 ++
>  doc/board/sifive/fu540.rst                    | 41 +++++++++++++++++++
>  include/configs/sifive-fu540.h                |  7 +++-
>  7 files changed, 96 insertions(+), 7 deletions(-)
>
> --
> 2.25.1
>

Any chance to pick this?

Jagan.
Rick Chen July 22, 2020, 12:32 a.m. UTC | #2
Hi Jagan

> From: Jagan Teki [mailto:jagan@amarulasolutions.com]
> Sent: Tuesday, July 21, 2020 2:26 PM
> To: Rick Jian-Zhi Chen(陳建志); Atish Patra; Palmer Dabbelt; Bin Meng; Paul Walmsley; Anup Patel; Sagar Kadam
> Cc: U-Boot-Denx; linux-amarula
> Subject: Re: [PATCH v5 0/6] riscv: sifive/fu540: SPI boot
>
> Hi Rick,
>
> On Wed, Jul 15, 2020 at 3:39 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
> >
> > Updated series with boot device detection directly on spl_boot_device
> > function instead of having separate board driver.
> >
> > Changes for v5:
> > - rebase on master
> > Changes for v4:
> > - fix typo and unneeded configs.
> > Changes for v3:
> > - fixed env definitions build
> > - added boot device detection in board Changes for v2:
> > - fu540 board driver
> > - runtime bootmode detection
> > - rebase on Pragnesh v11 series
> >
> > Any inputs?
> > Jagan.
> >
> > Jagan Teki (6):
> >   sifive: fu540: Add runtime boot mode detection
> >   sifive: fu540: Add Booting from SPI
> >   env: Enable SPI flash env for SiFive FU540
> >   sifive: fu540: Mark the default env as SPI flash
> >   sifive: fu540: Add boot flash script offset, size
> >   sifive: fu540: Enable SF distro bootcmd
> >
> >  arch/riscv/cpu/fu540/Kconfig                  | 13 ++++++
> >  .../dts/hifive-unleashed-a00-u-boot.dtsi      | 12 ++++++
> >  board/sifive/fu540/Kconfig                    |  1 +
> >  board/sifive/fu540/fu540.c                    | 25 ++++++++---
> >  configs/sifive_fu540_defconfig                |  4 ++
> >  doc/board/sifive/fu540.rst                    | 41 +++++++++++++++++++
> >  include/configs/sifive-fu540.h                |  7 +++-
> >  7 files changed, 96 insertions(+), 7 deletions(-)
> >
> > --
> > 2.25.1
> >
>
> Any chance to pick this?

Applied to u-boot-riscv/master !

Thanks,
Rick

>
> Jagan.