diff options
author | Tomasz Nowicki <tomasz.nowicki@linaro.org> | 2014-01-10 13:30:33 +0100 |
---|---|---|
committer | Tomasz Nowicki <tomasz.nowicki@linaro.org> | 2014-01-10 14:02:23 +0100 |
commit | 2afe67068d57b8a3594b746f9b6337e801e3082c (patch) | |
tree | 3d9c93b1cb7dca811e49e2bf906f746de1c2336e /platforms | |
parent | 8f7094631de90ed553d3c9b6349cc2621a5cdf02 (diff) |
rtsm_ve-aemv8a: Add ASL for cf-flash memory
Added info:
- memory resource ranges
- DSM property, specific for cfi-flash memory
Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/rtsm_ve-aemv8a.acpi/dsdt.asl | 23 |
1 files changed, 23 insertions, 0 deletions
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) |