summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2020-07-15 15:38:59 +0530
committerAndes <uboot@andestech.com>2020-07-24 14:55:19 +0800
commit4243ff11fe73bef0d60b2a48c8663e02975ebb6b (patch)
tree0d245e583769b973444e0d10215802874d6c23d4 /arch
parent868e295ef72535300037fc264e770cfdca3f5894 (diff)
downloadu-boot-4243ff11fe73bef0d60b2a48c8663e02975ebb6b.tar.gz
u-boot-4243ff11fe73bef0d60b2a48c8663e02975ebb6b.tar.xz
u-boot-4243ff11fe73bef0d60b2a48c8663e02975ebb6b.zip
sifive: fu540: Add Booting from SPI
Add booting from SPI for SiFive Unleashed board. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Bin Meng <bin.meng@windriver.com> Tested-by: Bin Meng <bin.meng@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
index e037150520..7d838bf9de 100644
--- a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
+++ b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
@@ -16,6 +16,10 @@
spi2 = &qspi2;
};
+ config {
+ u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */
+ };
+
hfclk {
u-boot,dm-spl;
};
@@ -26,6 +30,14 @@
};
+&qspi0 {
+ u-boot,dm-spl;
+
+ flash@0 {
+ u-boot,dm-spl;
+ };
+};
+
&qspi2 {
mmc@0 {
u-boot,dm-spl;