• Soby Mathew's avatar
    PSCI: Implement platform compatibility layer · 32bc85f2
    Soby Mathew authored
    The new PSCI topology framework and PSCI extended State framework introduces
    a breaking change in the platform port APIs. To ease the migration of the
    platform ports to the new porting interface, a compatibility layer is
    introduced which essentially defines the new platform API in terms of the
    old API. The old PSCI helpers to retrieve the power-state, its associated
    fields and the highest coordinated physical OFF affinity level of a core
    are also implemented for compatibility. This allows the existing
    platform ports to work with the new PSCI framework without significant
    rework. This layer will be enabled by default once the switch to the new
    PSCI framework is done and is controlled by the build flag ENABLE_PLAT_COMPAT.
    
    Change-Id: I4b17cac3a4f3375910a36dba6b03d8f1700d07e3
    32bc85f2
plat_topology_compat.c 7.89 KB