From f7403928a9ee57ac717e38610dcbb04bb7798734 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 7 Oct 2010 14:11:38 +0200 Subject: Revert "Replace direct header access with the API routines" This reverts commit 0ceafe14be072696eff3e549d8c7b7de8a3e416d. Conflicts: include/image.h Signed-off-by: Sascha Hauer --- arch/blackfin/lib/blackfin_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/blackfin') 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(); -- cgit v1.2.3