dev-arm: Turn flash1 into a CFI Flash Memory
Change-Id: I21bdc165fba88d6366ea500a8a662fe0dcc02dab Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/41496 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
@@ -66,6 +66,8 @@ from m5.objects.Scmi import *
|
||||
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.
|
||||
@@ -1165,8 +1167,8 @@ Interrupts:
|
||||
]
|
||||
|
||||
# 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'),
|
||||
|
||||
Reference in New Issue
Block a user