RISC-V: virt: riscvemu: fix unit address in node name
PATCH 1/1 RISC-V: virt: riscvemu: fix unit address in node name
The overlay adds a SRAM at address 0x1000, but the unit address was still 0, which is confusing. Change it to sram@1000 instead.
Reported-by Marco Felsch <[email protected]>
Signed-off-by Ahmad Fatoum <[email protected]>
--- arch/riscv/boards/riscvemu/overlay-of-sram.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/riscv/boards/riscvemu/overlay-of-sram.dts +2 -2
@@ -9,7 +9,7 @@ __overlay__ { #address-cells = <2>; #size-cells = <2>; - sram@0 { + sram@1000 { compatible = "mtd-ram"; reg = <0 0x1000 0 0x10000>; #address-cells = <1>;
@@ -49,7 +49,7 @@ fixed-partitions __overlay__ { environment { compatible = "barebox,environment"; - device-path = "/soc/sram@0/partitions/partition@3000"; + device-path = "/soc/sram@1000/partitions/partition@3000"; }; }; };
Signature · 1 line
2.38.1
Quoted 5 lines · Ahmad Fatoum
The overlay adds a SRAM at address
0x1000, but the unit address was still 0, which is confusing. Change it to sram@1000 instead.Reported-by Marco Felsch <[email protected]>Signed-off-by Ahmad Fatoum <[email protected]>
Reviewed-by Marco Felsch <[email protected]>
Sascha Hauer
AppliedQuoted 8 lines · Ahmad Fatoum
The overlay adds a SRAM at address
0x1000, but the unit address was still 0, which is confusing. Change it to sram@1000 instead.Reported-by Marco Felsch <[email protected]>Signed-off-by Ahmad Fatoum <[email protected]>--- arch/riscv/boards/riscvemu/overlay-of-sram.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks
Sascha
Quoted 28 lines
arch/riscv/boards/riscvemu/overlay-of-sram.dts +2
-2@@ -9,7 +9,7 @@ __overlay__ { #address-cells = <2>; #size-cells = <2>; - sram@0 { + sram@1000 { compatible = "mtd-ram"; reg = <0 0x1000 0 0x10000>; #address-cells = <1>;@@ -49,7 +49,7 @@ fixed-partitions __overlay__ { environment { compatible = "barebox,environment"; - device-path = "/soc/sram@0/partitions/partition@3000"; + device-path = "/soc/sram@1000/partitions/partition@3000"; }; }; };Signature · 1 line
2.38.1
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |