From 357aacab6b8a10d54e1fa4f180e3da212cc23d1d Mon Sep 17 00:00:00 2001 From: Jaxson Han Date: Tue, 15 Mar 2022 18:37:43 +0800 Subject: [PATCH] boards: fvp v8r: Fix the SRAM/FLASH to the right address Fix SRAM base address to 0x0 and set the size to 128M Fix FLASH base address to 0x88000000 and set the size to 64MB Signed-off-by: Jaxson Han --- .../fvp_baser_aemv8r_aarch32/fvp_baser_aemv8r_aarch32.dts | 8 ++++---- boards/arm64/fvp_baser_aemv8r/fvp_baser_aemv8r.dts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/boards/arm/fvp_baser_aemv8r_aarch32/fvp_baser_aemv8r_aarch32.dts b/boards/arm/fvp_baser_aemv8r_aarch32/fvp_baser_aemv8r_aarch32.dts index 650d39c9531..478c2123799 100644 --- a/boards/arm/fvp_baser_aemv8r_aarch32/fvp_baser_aemv8r_aarch32.dts +++ b/boards/arm/fvp_baser_aemv8r_aarch32/fvp_baser_aemv8r_aarch32.dts @@ -28,14 +28,14 @@ }; soc { - flash0: flash@0 { + flash0: flash@88000000 { compatible = "soc-nv-flash"; - reg = <0x0 DT_SIZE_K(64)>; + reg = <0x88000000 DT_SIZE_M(64)>; }; - dram0: memory@10000000 { + dram0: memory@0 { compatible = "mmio-dram"; - reg = <0x10000000 DT_SIZE_K(2048)>; + reg = <0x0 DT_SIZE_M(128)>; }; }; }; diff --git a/boards/arm64/fvp_baser_aemv8r/fvp_baser_aemv8r.dts b/boards/arm64/fvp_baser_aemv8r/fvp_baser_aemv8r.dts index 650d39c9531..478c2123799 100644 --- a/boards/arm64/fvp_baser_aemv8r/fvp_baser_aemv8r.dts +++ b/boards/arm64/fvp_baser_aemv8r/fvp_baser_aemv8r.dts @@ -28,14 +28,14 @@ }; soc { - flash0: flash@0 { + flash0: flash@88000000 { compatible = "soc-nv-flash"; - reg = <0x0 DT_SIZE_K(64)>; + reg = <0x88000000 DT_SIZE_M(64)>; }; - dram0: memory@10000000 { + dram0: memory@0 { compatible = "mmio-dram"; - reg = <0x10000000 DT_SIZE_K(2048)>; + reg = <0x0 DT_SIZE_M(128)>; }; }; };