• Sjur Brændeland's avatar
    remoteproc: Support custom firmware handlers · 4afc89d6
    Sjur Brændeland authored
    Firmware handling is made customizable.
    This is done by creating a separate ops structure for the
    firmware functions that depends on a particular firmware
    format (such as ELF). The ELF functions are default used
    unless the HW driver explicitly injects another firmware
    handler by updating rproc->fw_ops.
    The function rproc_da_to_va() is exported, as custom
    firmware handlers may need to use this function.
    Signed-off-by: default avatarSjur Brændeland <sjur.brandeland@stericsson.com>
    [ohad: namespace fixes, whitespace fixes, style fixes]
    Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
    4afc89d6
remoteproc_internal.h 3.1 KB