• Suman Anna's avatar
    ARM: davinci: da8xx: Create DSP device only when assigned memory · f97f0357
    Suman Anna authored
    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: default avatarSuman Anna <s-anna@ti.com>
    Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
    f97f0357
devices-da8xx.c 25.6 KB