Sergey Temerkhanov | 900f88f | 2015-10-14 09:55:51 -0700 | [diff] [blame] | 1 | /** |
2 | * (C) Copyright 2014, Cavium Inc. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | **/ | ||||
6 | |||||
7 | #ifndef __ATF_PART_H__ | ||||
8 | #define __ATF_PART_H__ | ||||
9 | |||||
10 | struct storage_partition { | ||||
11 | unsigned int type; | ||||
12 | unsigned int size; | ||||
13 | unsigned long offset; | ||||
14 | }; | ||||
15 | |||||
16 | enum { | ||||
17 | PARTITION_NBL1FW_REST = 0, | ||||
18 | PARTITION_BL2_BL31 = 1, | ||||
19 | PARTITION_UBOOT = 2, | ||||
20 | PARTITION_UEFI = 2, | ||||
21 | PARTITION_KERNEL = 3, | ||||
22 | PARTITION_DEVICE_TREE = 4, | ||||
23 | PARTITION_LAST, | ||||
24 | }; | ||||
25 | |||||
26 | #endif |