Skip to content

Commit

Permalink
boards: snps: nsim: align EM7D_v22 platform
Browse files Browse the repository at this point in the history
Fix ICCM/DCCM properties both in DTS and in MDB settings to match the
original hardware configuration.

Signed-off-by: Ilya Tagunov <[email protected]>
  • Loading branch information
tagunil committed Dec 11, 2024
1 parent f79dd58 commit ce0987f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions boards/snps/nsim/arc_classic/nsim_nsim_em7d_v22.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

/dts-v1/;

#define ICCM_SIZE DT_SIZE_K(256)
#define DCCM_SIZE DT_SIZE_K(128)

#include "nsim_em.dtsi"

/ {
Expand Down
4 changes: 2 additions & 2 deletions boards/snps/nsim/arc_classic/support/mdb_em7d_v22.args
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
-dcache_feature=2
-icache=16384,32,2,a
-icache_feature=2
-dccm_size=0x80000
-dccm_size=0x20000
-dccm_base=0x80000000
-dccm_interleave
-iccm0_size=0x80000
-iccm0_size=0x40000
-iccm0_base=0x00000000
-Xpct_counters=8
-dmac
Expand Down

0 comments on commit ce0987f

Please sign in to comment.