Giacomo Travaglini has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/41496 )

Change subject: dev-arm: Turn flash1 into a CFI Flash Memory
......................................................................

dev-arm: Turn flash1 into a CFI Flash Memory

Change-Id: I21bdc165fba88d6366ea500a8a662fe0dcc02dab
Signed-off-by: Giacomo Travaglini <[email protected]>
---
M src/dev/arm/RealView.py
1 file changed, 4 insertions(+), 2 deletions(-)



diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index 7caa203..a433e62 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -66,6 +66,8 @@
 from m5.objects.SMMUv3 import SMMUv3
 from m5.objects.PciDevice import PciLegacyIoBar, PciIoBar

+from m5.objects.CfiMemory import CfiMemory
+
 # Platforms with KVM support should generally use in-kernel GIC
 # emulation. Use a GIC model that automatically switches between
 # gem5's GIC model and KVM's GIC model if KVM is available.
@@ -1172,8 +1174,8 @@
     ]

     # NOR flash, flash1
-    flash1 = SimpleMemory(range=AddrRange(0x0c000000, 0x10000000),
-                          conf_table_reported=False)
+    flash1 = CfiMemory(range=AddrRange(0x0c000000, 0x10000000),
+                       conf_table_reported=False)

     # VRAM
     vram = SimpleMemory(range=AddrRange(0x18000000, size='32MB'),

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/41496
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I21bdc165fba88d6366ea500a8a662fe0dcc02dab
Gerrit-Change-Number: 41496
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to