Home
last modified time | relevance | path

Searched refs:spt_buf (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/intel/soc/common/
H A Dsocfpga_ros.c44 static uint32_t get_current_image_index(spt_table_t *spt_buf, uint32_t *const img_index) in get_current_image_index() argument
46 if (spt_buf == NULL || img_index == NULL) { in get_current_image_index()
54 if (spt_buf->partitions < SPT_MIN_PARTITIONS || spt_buf->partitions > SPT_MAX_PARTITIONS) { in get_current_image_index()
67 for (uint32_t index = 0U ; index < spt_buf->partitions; index++) { in get_current_image_index()
68 if (spt_buf->partition[index].offset == current_image) { in get_current_image_index()
119 static uint32_t get_spt(spt_table_t *spt_buf) in get_spt() argument
121 if (spt_buf == NULL) { in get_spt()
140 ret = load_and_check_spt(spt_buf, ADDR_64(spt_offset[2], spt_offset[3])); in get_spt()
143 ret = load_and_check_spt(spt_buf, ADDR_64(spt_offset[0], spt_offset[1])); in get_spt()