mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 06:18:51 +09:00
![Sergey Temerkhanov](/assets/img/avatar_default.png)
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
27 lines
407 B
C
27 lines
407 B
C
/**
|
|
* (C) Copyright 2014, Cavium Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
**/
|
|
|
|
#ifndef __ATF_PART_H__
|
|
#define __ATF_PART_H__
|
|
|
|
struct storage_partition {
|
|
unsigned int type;
|
|
unsigned int size;
|
|
unsigned long offset;
|
|
};
|
|
|
|
enum {
|
|
PARTITION_NBL1FW_REST = 0,
|
|
PARTITION_BL2_BL31 = 1,
|
|
PARTITION_UBOOT = 2,
|
|
PARTITION_UEFI = 2,
|
|
PARTITION_KERNEL = 3,
|
|
PARTITION_DEVICE_TREE = 4,
|
|
PARTITION_LAST,
|
|
};
|
|
|
|
#endif
|