diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-01-08 18:15:20 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-01-12 11:21:59 +0100 |
commit | 0836c5f7b8e834742fdbd522853d076cf0c4a4e7 (patch) | |
tree | de360a41313eeac2967df4750f0c62522aaa92ee /arch | |
parent | fb44b6b8ffeae5dc6eb53a1664d4312615397349 (diff) | |
download | barebox-0836c5f7b8e834742fdbd522853d076cf0c4a4e7.tar.gz barebox-0836c5f7b8e834742fdbd522853d076cf0c4a4e7.tar.xz |
RISC-V: virt: riscvemu: be explicit about HTIF base address
The normal riscvemu console is Virt I/O, which isn't really suitable to
poke from the command line as part of the incoming jsbarebox tutorial.
The HTIF on the other hand can be poked quite comfortably. To make it
look more like normal devices, fix up an address. No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220108171524.587144-5-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/riscv/boards/riscvemu/overlay-of-sram.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/riscv/boards/riscvemu/overlay-of-sram.dts b/arch/riscv/boards/riscvemu/overlay-of-sram.dts index 839887fef2..506d45bde9 100644 --- a/arch/riscv/boards/riscvemu/overlay-of-sram.dts +++ b/arch/riscv/boards/riscvemu/overlay-of-sram.dts @@ -116,4 +116,14 @@ }; }; }; + + fragment@4 { + target-path = "/htif"; + #address-cells = <2>; + #size-cells = <2>; + + __overlay__ { + reg = <0 0x40008000 0 0x8>; + }; + }; }; |