atf_part.h 407 B

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