[PATCH] riscv: Add missing sentinel in ocores_i2c.c

2021-08-15 Thread Thomas Skibo
The ocores_i2c.c driver is missing a sentinel at the end of the compatible strings list. This causes the "dm compat" command to spew garbage. Signed-off-by: Thomas Skibo --- drivers/i2c/ocores_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/ocores_i2c.c b/d

[PATCH 0/2] riscv: Support booting SiFive Unmatched from SPI flash.

2021-09-27 Thread Thomas Skibo
This patch set adds support for booting the SiFive Unmatched board from SPI flash memory and saving the environment to flash. Thomas Skibo (2): riscv: Support booting SiFive Unmatched from SPI. riscv: Enable SPI flash env for SiFive Unmatched. arch/riscv/cpu/fu740/Kconfig

[PATCH 2/2] riscv: Enable SPI flash env for SiFive Unmatched.

2021-09-27 Thread Thomas Skibo
Enable saving environment to SPI flash memory on SiFive Unmatched. Signed-off-by: Thomas Skibo --- arch/riscv/cpu/fu740/Kconfig | 13 + board/sifive/unmatched/Kconfig | 1 + 2 files changed, 14 insertions(+) diff --git a/arch/riscv/cpu/fu740/Kconfig b/arch/riscv/cpu/fu740

[PATCH 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-09-27 Thread Thomas Skibo
Configure SPI flash devices into SPL. Add SPI boot option to spl.c. Document how to format flash for booting. Signed-off-by: Thomas Skibo --- .../dts/hifive-unmatched-a00-u-boot.dtsi | 11 +++ board/sifive/unmatched/spl.c | 3 ++ configs/sifive_unmatched_defconfig

[PATCH v2 2/2] riscv: Enable SPI flash env for SiFive Unmatched.

2021-11-23 Thread Thomas Skibo
Enable saving environment to SPI flash memory on SiFive Unmatched. Signed-off-by: Thomas Skibo --- arch/riscv/cpu/fu740/Kconfig | 13 + board/sifive/unmatched/Kconfig | 1 + 2 files changed, 14 insertions(+) diff --git a/arch/riscv/cpu/fu740/Kconfig b/arch/riscv/cpu/fu740

[PATCH v2 0/2] riscv: Support booting SiFive Unmatched from SPI flash.

2021-11-23 Thread Thomas Skibo
This patch set adds support for booting the SiFive Unmatched board from SPI flash memory and saving the environment to flash. Thomas Skibo (2): riscv: Support booting SiFive Unmatched from SPI. riscv: Enable SPI flash env for SiFive Unmatched. arch/riscv/cpu/fu740/Kconfig

[PATCH v2 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-11-23 Thread Thomas Skibo
Configure SPI flash devices into SPL. Add SPI boot option to spl.c. Document how to format flash for booting. Signed-off-by: Thomas Skibo --- .../dts/hifive-unmatched-a00-u-boot.dtsi | 11 +++ board/sifive/unmatched/spl.c | 3 ++ configs/sifive_unmatched_defconfig

Re: [PATCH v2 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-11-24 Thread Thomas Skibo
On 11/23/21 8:39 PM, Sean Anderson wrote: On 11/23/21 11:27 PM, Thomas Skibo wrote: + + +Booting from SPI + + +Use Building steps from "Booting from uSD using U-Boot SPL" section. + +Partition the SPI in Linux via mtdblock. + +.. code-block:: none + +    sgdisk --

[PATCH v3 2/2] riscv: Enable SPI flash env for SiFive Unmatched.

2021-11-24 Thread Thomas Skibo
Enable saving environment to SPI flash memory on SiFive Unmatched. Signed-off-by: Thomas Skibo --- arch/riscv/cpu/fu740/Kconfig | 13 + board/sifive/unmatched/Kconfig | 1 + 2 files changed, 14 insertions(+) diff --git a/arch/riscv/cpu/fu740/Kconfig b/arch/riscv/cpu/fu740

[PATCH v3 0/2] riscv: Support booting SiFive Unmatched from SPI flash.

2021-11-24 Thread Thomas Skibo
This patch set adds support for booting the SiFive Unmatched board from SPI flash memory and saving the environment to flash. Thomas Skibo (2): riscv: Support booting SiFive Unmatched from SPI. riscv: Enable SPI flash env for SiFive Unmatched. arch/riscv/cpu/fu740/Kconfig

[PATCH v3 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-11-24 Thread Thomas Skibo
Configure SPI flash devices into SPL. Add SPI boot option to spl.c. Document how to format flash for booting. Signed-off-by: Thomas Skibo --- .../dts/hifive-unmatched-a00-u-boot.dtsi | 11 +++ board/sifive/unmatched/spl.c | 3 ++ configs/sifive_unmatched_defconfig