Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef SOC_H |
| 8 | #define SOC_H |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 9 | |
| 10 | #include <stdint.h> |
| 11 | |
Justin Chadwell | 1fcbddf | 2019-07-03 14:13:34 +0100 | [diff] [blame] | 12 | #define SVR_WO_E 0xFFFFFEu |
| 13 | #define SVR_LS1043A 0x879204u |
| 14 | #define SVR_LS1043AE 0x879200u |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 15 | |
| 16 | void get_gic_offset(uint32_t *gicc_base, uint32_t *gicd_base); |
| 17 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 18 | #endif /* SOC_H */ |