mbox series

[0/5] riscv: sifive/fu540: Booting from SPI

Message ID 20200420140514.25847-1-jagan@amarulasolutions.com
Headers show
Series riscv: sifive/fu540: Booting from SPI | expand

Message

Jagan Teki April 20, 2020, 2:05 p.m. UTC
This series support Boot from SPI on SiFive FU540
HiFive Unleashed board.

SPI uses a separate defconfig and it is possible to reuse
existing one, but it requires runtime detection of boot
mode via MSEL.

Any help? let me know.

Series depends on [1] and [2].

[1] https://patchwork.ozlabs.org/cover/1263480/
[2] https://patchwork.ozlabs.org/project/uboot/list/?series=169649

Any inputs?
Jagan.

Jagan Teki (5):
  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

 .../dts/hifive-unleashed-a00-u-boot.dtsi      | 12 ++++++
 board/sifive/fu540/Kconfig                    |  1 +
 board/sifive/fu540/fu540.c                    |  3 ++
 configs/sifive_fu540_spi_defconfig            | 26 +++++++++++
 doc/board/sifive/fu540.rst                    | 43 +++++++++++++++++++
 env/Kconfig                                   |  3 ++
 include/configs/sifive-fu540.h                |  7 ++-
 7 files changed, 94 insertions(+), 1 deletion(-)
 create mode 100644 configs/sifive_fu540_spi_defconfig

Comments

Bin Meng April 20, 2020, 2:46 p.m. UTC | #1
Hi Jagan,

On Mon, Apr 20, 2020 at 10:05 PM Jagan Teki <jagan at amarulasolutions.com> wrote:
>
> This series support Boot from SPI on SiFive FU540
> HiFive Unleashed board.
>
> SPI uses a separate defconfig and it is possible to reuse
> existing one, but it requires runtime detection of boot
> mode via MSEL.

Should we determine the boot order based on MSEL dynamically?

>
> Any help? let me know.

Thank you very much for get the SPI flash working and bring in
additional booting from SPI flash support.

>
> Series depends on [1] and [2].
>
> [1] https://patchwork.ozlabs.org/cover/1263480/
> [2] https://patchwork.ozlabs.org/project/uboot/list/?series=169649
>
> Any inputs?
> Jagan.

Regards,
Bin