2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
9 unsigned int plat_arm_sgi_get_platform_id(void)
11 return mmio_read_32(SSC_VERSION
) & SSC_VERSION_PART_NUM_MASK
;
14 unsigned int plat_arm_sgi_get_config_id(void)
16 return (mmio_read_32(SSC_VERSION
) >> SSC_VERSION_CONFIG_SHIFT
)
17 & SSC_VERSION_CONFIG_MASK
;