Commits
Suman Anna committed 853133d86d9
remoteproc/pruss: store the pruss instance id Add logic to the PRUSS platform driver to store the instance id of a PRUSS instance. This is being added to enable support for the PRU Ethernet driver to be able to switch between different Ethernet protocols dynamically per instance. The values for instance ids are not always zero-indexed on all SoCs, they were chosen to match the numbering used in the TRMs. The instance ids are computed assigned using the PRUSS memory region base address lookup table. The base address matching logic is not robust for long-term for newer SoCs, but is okay for currently supported SoCs as all the addresses are unique. This is done this way to retain the current usage of minimal static data and to avoid having to introduce the instance specific static data just for the instance id data. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Aaron Kramer <a-kramer@ti.com>