Skip to content

Commit e1faa19

Browse files
tagunilkartben
authored andcommitted
boards: snps: nsim: align EM7D_v22 platform
Fix ICCM/DCCM properties both in DTS and in MDB settings to match the original hardware configuration. Signed-off-by: Ilya Tagunov <[email protected]>
1 parent 99f789c commit e1faa19

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

boards/snps/nsim/arc_classic/nsim_nsim_em7d_v22.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
/dts-v1/;
88

9+
#define ICCM_SIZE DT_SIZE_K(256)
10+
#define DCCM_SIZE DT_SIZE_K(128)
11+
912
#include "nsim_em.dtsi"
1013

1114
/ {

boards/snps/nsim/arc_classic/support/mdb_em7d_v22.args

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
-dcache_feature=2
3939
-icache=16384,32,2,a
4040
-icache_feature=2
41-
-dccm_size=0x80000
41+
-dccm_size=0x20000
4242
-dccm_base=0x80000000
4343
-dccm_interleave
44-
-iccm0_size=0x80000
44+
-iccm0_size=0x40000
4545
-iccm0_base=0x00000000
4646
-Xpct_counters=8
4747
-dmac

0 commit comments

Comments
 (0)