blob: e9b96dd461b72d64234e3f39913e1694bdd57393 [file] [log] [blame]
Nariman Poushin0ece80f2018-02-26 06:52:04 +00001/*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Chandni Cherukuric8ef0452018-10-04 16:32:03 +05307#ifndef SGI_VARIANT_H
8#define SGI_VARIANT_H
Nariman Poushin0ece80f2018-02-26 06:52:04 +00009
10/* SSC_VERSION values for SGI575 */
11#define SGI575_SSC_VER_PART_NUM 0x0783
12
Chandni Cherukuric8ef0452018-10-04 16:32:03 +053013/* SID Version values for SGI-Clark */
14#define SGI_CLARK_SID_VER_PART_NUM 0x0786
Chandni Cherukuri0612a882018-10-16 14:15:31 +053015#define SGI_CLARK_HELIOS_CONFIG_ID 0x2
Chandni Cherukuric8ef0452018-10-04 16:32:03 +053016
17/* Structure containing SGI platform variant information */
18typedef struct sgi_platform_info {
19 unsigned int platform_id; /* Part Number of the platform */
20 unsigned int config_id; /* Config Id of the platform */
21} sgi_platform_info_t;
22
23extern sgi_platform_info_t sgi_plat_info;
24
Chandni Cherukuri3aa09f72018-11-28 11:31:51 +053025/* returns the part number of the platform*/
26unsigned int plat_arm_sgi_get_platform_id(void);
27
28/* returns the configuration id of the platform */
29unsigned int plat_arm_sgi_get_config_id(void);
30
Chandni Cherukuric8ef0452018-10-04 16:32:03 +053031#endif /* SGI_VARIANT_H */