| 532 | } |
| 533 | |
| 534 | static uint32_t *get_fit_ptr(struct buffer *bootblock, fit_offset_converter_t offset_fn, |
| 535 | uint32_t topswap_size) |
| 536 | { |
| 537 | return rom_buffer_pointer(bootblock, |
| 538 | ptr_to_offset(offset_fn, bootblock, |
| 539 | FIT_POINTER_LOCATION - topswap_size)); |
| 540 | } |
| 541 | |
| 542 | /* Set the FIT pointer to a FIT table. */ |
| 543 | int set_fit_pointer(struct buffer *bootblock, |
no test coverage detected