From patchwork Mon Apr 20 14:05:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 238106 List-Id: U-Boot discussion From: jagan at amarulasolutions.com (Jagan Teki) Date: Mon, 20 Apr 2020 19:35:09 +0530 Subject: [PATCH 0/5] riscv: sifive/fu540: Booting from SPI Message-ID: <20200420140514.25847-1-jagan@amarulasolutions.com> 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