atf_part.h 407 B

1234567891011121314151617181920212223242526
  1. /**
  2. * (C) Copyright 2014, Cavium Inc.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. **/
  6. #ifndef __ATF_PART_H__
  7. #define __ATF_PART_H__
  8. struct storage_partition {
  9. unsigned int type;
  10. unsigned int size;
  11. unsigned long offset;
  12. };
  13. enum {
  14. PARTITION_NBL1FW_REST = 0,
  15. PARTITION_BL2_BL31 = 1,
  16. PARTITION_UBOOT = 2,
  17. PARTITION_UEFI = 2,
  18. PARTITION_KERNEL = 3,
  19. PARTITION_DEVICE_TREE = 4,
  20. PARTITION_LAST,
  21. };
  22. #endif