summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/lib/blackfin_linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/lib/blackfin_linux.c')
-rw-r--r--arch/blackfin/lib/blackfin_linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/lib/blackfin_linux.c b/arch/blackfin/lib/blackfin_linux.c
index eda3f4c011..ce5f3a54c2 100644
--- a/arch/blackfin/lib/blackfin_linux.c
+++ b/arch/blackfin/lib/blackfin_linux.c
@@ -47,10 +47,10 @@ static int do_bootm_linux(struct image_data *idata)
struct image_handle *os_handle = idata->os;
image_header_t *os_header = &os_handle->header;
- appl = (int (*)(char *))image_get_ep(os_header);
+ appl = (int (*)(char *))ntohl(os_header->ih_ep);
printf("Starting Kernel at 0x%08x\n", appl);
- if (relocate_image(os_handle, (void *)image_get_load(os_header)))
+ if (relocate_image(os_handle, (void *)ntohl(os_header->ih_load)))
return -1;
icache_disable();