Nariman Poushin | 0ece80f | 2018-02-26 06:52:04 +0000 | [diff] [blame] | 1 | /* |
Chandni Cherukuri | 346a7cc | 2019-02-27 13:59:11 +0530 | [diff] [blame] | 2 | * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. |
Nariman Poushin | 0ece80f | 2018-02-26 06:52:04 +0000 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Chandni Cherukuri | c8ef045 | 2018-10-04 16:32:03 +0530 | [diff] [blame] | 7 | #ifndef SGI_VARIANT_H |
| 8 | #define SGI_VARIANT_H |
Nariman Poushin | 0ece80f | 2018-02-26 06:52:04 +0000 | [diff] [blame] | 9 | |
| 10 | /* SSC_VERSION values for SGI575 */ |
| 11 | #define SGI575_SSC_VER_PART_NUM 0x0783 |
| 12 | |
Chandni Cherukuri | 346a7cc | 2019-02-27 13:59:11 +0530 | [diff] [blame] | 13 | /* SID Version values for RD-N1E1-Edge */ |
| 14 | #define RD_N1E1_EDGE_SID_VER_PART_NUM 0x0786 |
| 15 | #define RD_E1_EDGE_CONFIG_ID 0x2 |
Chandni Cherukuri | c8ef045 | 2018-10-04 16:32:03 +0530 | [diff] [blame] | 16 | |
| 17 | /* Structure containing SGI platform variant information */ |
| 18 | typedef 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 | |
| 23 | extern sgi_platform_info_t sgi_plat_info; |
| 24 | |
Chandni Cherukuri | 3aa09f7 | 2018-11-28 11:31:51 +0530 | [diff] [blame] | 25 | /* returns the part number of the platform*/ |
| 26 | unsigned int plat_arm_sgi_get_platform_id(void); |
| 27 | |
| 28 | /* returns the configuration id of the platform */ |
| 29 | unsigned int plat_arm_sgi_get_config_id(void); |
| 30 | |
Chandni Cherukuri | c8ef045 | 2018-10-04 16:32:03 +0530 | [diff] [blame] | 31 | #endif /* SGI_VARIANT_H */ |