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