+10
−12
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>