summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-02-26 07:53:04 -0500
committerTom Rini <trini@konsulko.com>2021-02-26 07:53:04 -0500
commit94218ca9a85e6e3f255089da61cf7ee65b09435c (patch)
tree9169f2ef37ea9ab9ec5516863bc6b5c20dba2886
parentc28d5d704d3347fcbe5e49ab561973c00bf9337f (diff)
parent5540294fa48598bf1aa8aa4d9084506a19bbd64c (diff)
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv
-rw-r--r--arch/riscv/dts/k210-maix-bit.dts2
-rw-r--r--cmd/riscv/sbi.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/dts/k210-maix-bit.dts b/arch/riscv/dts/k210-maix-bit.dts
index e4dea205b24..902dcfd08a9 100644
--- a/arch/riscv/dts/k210-maix-bit.dts
+++ b/arch/riscv/dts/k210-maix-bit.dts
@@ -200,6 +200,8 @@
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
+ spi-tx-bus-width = <4>;
+ spi-rx-bus-width = <4>;
m25p,fast-read;
broken-flash-reset;
};
diff --git a/cmd/riscv/sbi.c b/cmd/riscv/sbi.c
index 2c905f1f8f8..90c0811e14c 100644
--- a/cmd/riscv/sbi.c
+++ b/cmd/riscv/sbi.c
@@ -43,6 +43,7 @@ static struct sbi_ext extensions[] = {
{ 0x00735049, "IPI Extension" },
{ 0x52464E43, "RFENCE Extension" },
{ 0x0048534D, "Hart State Management Extension" },
+ { 0x53525354, "System Reset Extension" },
};
static int do_sbi(struct cmd_tbl *cmdtp, int flag, int argc,