Added info: - memory resource ranges - DSM property, specific for cfi-flash memory
Signed-off-by: Tomasz Nowicki tomasz.nowicki@linaro.org --- platforms/rtsm_ve-aemv8a.acpi/dsdt.asl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
diff --git a/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl b/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl index 62f1402..43ac170 100644 --- a/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl +++ b/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl @@ -467,6 +467,29 @@ DefinitionBlock ( } }
+ Device (FLH0) { + Name (_HID, "LNRO0015") + Name (_UID, 0) + Method (_CRS, 0x0, Serialized) { + Name (RBUF, ResourceTemplate () { + Memory32Fixed (ReadWrite, 0x08000000, 0x04000000) + Memory32Fixed (ReadWrite, 0x0C000000, 0x04000000) + }) + Return (RBUF) + } + + Method(_DSM, 4, NotSerialized) { + Store (Package () + { + "bank-width", "4", + }, Local0) + + DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) + + Return (Local0) + } + } + Device (AMBA) { Name (_HID, "AMBA0000") Name (_UID, 0)