Abhishek Shah | a2936da | 2020-07-15 22:48:59 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | ||||
3 | * Copyright 2020 Broadcom. | ||||
4 | * | ||||
5 | */ | ||||
6 | |||||
7 | #ifndef BL33_INFO_H | ||||
8 | #define BL33_INFO_H | ||||
9 | #include <asm/io.h> | ||||
10 | |||||
11 | /* Increase version number each time this file is modified */ | ||||
12 | #define BL33_INFO_VERSION 1 | ||||
13 | |||||
14 | struct chip_info { | ||||
15 | unsigned int chip_id; | ||||
16 | unsigned int rev_id; | ||||
17 | }; | ||||
18 | |||||
19 | struct bl33_info { | ||||
20 | unsigned int version; | ||||
21 | struct chip_info chip; | ||||
22 | }; | ||||
23 | |||||
24 | extern struct bl33_info *bl33_info; | ||||
25 | |||||
26 | #endif |