1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2019-2021, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef JUNO_ID 9 #define JUNO_ID 10 11 enum juno_idx_platform { 12 JUNO_IDX_PLATFORM_RTL = 0x0, 13 JUNO_IDX_PLATFORM_RESERVED1 = 0x1, 14 JUNO_IDX_PLATFORM_RESERVED2 = 0x2, 15 JUNO_IDX_PLATFORM_FVP = 0x3, 16 JUNO_IDX_PLATFORM_COUNT, 17 }; 18 19 enum juno_idx_revision { 20 JUNO_IDX_REVISION_R0, 21 JUNO_IDX_REVISION_R1, 22 JUNO_IDX_REVISION_R2, 23 JUNO_IDX_REVISION_COUNT, 24 }; 25 26 enum juno_idx_variant { 27 JUNO_IDX_VARIANT_A = 0, 28 JUNO_IDX_VARIANT_B, 29 JUNO_IDX_VARIANT_COUNT, 30 }; 31 32 int juno_id_get_platform(enum juno_idx_platform *platform); 33 int juno_id_get_revision(enum juno_idx_revision *revision); 34 int juno_id_get_variant(enum juno_idx_variant *variant); 35 36 #endif /* JUNO_ID */ 37