commit | 4a031f7dbe497a66cd18b33fc6e5ce2e889d89c7 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Tue Mar 03 08:38:07 2015 +0100 |
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | Tue Mar 03 20:07:13 2015 +0100 |
tree | b8ccfa8b22924c250f4ee4725813c498582fb174 | |
parent | 84e871660bebfddb9a62ebd6f19d02536e782f0a [diff] |
ARM: at91: pm: fix SRAM allocation On some platforms, there are multiple SRAM nodes defined in the device tree but some of them are disabled, leading to allocation failure. Try to find the first enabled SRAM node and allocate from it. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Tested-by: Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>