1 /* 2 * Copyright (C) 2015-2021 Alibaba Group Holding Limited 3 */ 4 5 #include <stdint.h> 6 7 #ifndef __AOS_PART_H 8 #define __AOS_PART_H 9 10 typedef struct { 11 const char *partition_name; /* vendor custom partition name */ 12 const char *partition_name_std; /* standard partition name */ 13 uint32_t partition_start_addr; /* partition start address*/ 14 uint32_t partition_length; /* partition length */ 15 uint32_t partition_options; /* reserved*/ 16 } mtd_partition_t; 17 18 extern const mtd_partition_t mtd_partitions[]; 19 extern const int mtd_partitions_amount; 20 21 #endif /*__AOS_PART_H*/