/* Populate SPL hook to override the default load address used by the SPL loader function with a custom address for SYSFW loading.  */
struct image_header* spl_get_load_buffer(ssize_t offset, size_t size)
/* Populate SPL hook to override the default load address used by the SPL loader function with a custom address for SYSFW loading.  */
struct image_header* spl_get_load_buffer(ssize_t offset, size_t size)
{
	if (sysfw_loaded)
		return (struct image_header *)(CONFIG_SYS_TEXT_BASE + offset);
	else if (sysfw_load_address)
		return sysfw_load_address;
	else
		panic("SYSFW load address not defined!");
}