Suman Anna 121ed59565 ARM: davinci: da8xx: Create DSP device only when assigned memory
[ Upstream commit f97f03578b997a8ec2b9bc4928f958a865137268 ]

The DSP device on Davinci platforms does not have an MMU and requires
specific DDR memory to boot. This memory is reserved using the rproc_mem
kernel boot parameter and is assigned to the device on non-DT boots.
The remoteproc core uses the DMA API and so will fall back to assigning
random memory if this memory is not assigned to the device, but the DSP
remote processor boot will not be successful in such cases. So, check
that memory has been reserved and assigned to the device specifically
before even creating the DSP device.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:09 +02:00
..
2018-03-24 10:58:45 +01:00
2016-09-24 10:07:43 +02:00
2016-12-15 08:49:23 -08:00
2018-03-28 18:40:12 +02:00
2018-01-31 12:06:12 +01:00
2015-11-11 09:16:10 -08:00