summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2012-01-01 15:06:39 +1100
committerGraeme Russ <graeme.russ@gmail.com>2012-01-04 22:17:20 +1100
commitf48dd6fc6cc9fdf15408e98132dc5575a31026cf (patch)
tree2fe660cd6af72843d0798497a5f1bbb8c813b9ff /arch/x86/include/asm
parent74bfbe1ba5ba99adccdc26dc4adbfb9221849310 (diff)
downloadu-boot-imx-f48dd6fc6cc9fdf15408e98132dc5575a31026cf.zip
u-boot-imx-f48dd6fc6cc9fdf15408e98132dc5575a31026cf.tar.gz
u-boot-imx-f48dd6fc6cc9fdf15408e98132dc5575a31026cf.tar.bz2
x86: Simplify Flash-to-RAM code execution transition
Move the relocation offset calculation out of assembler and into C. This also paves the way for the upcoming init sequence simplification by adding the board_init_f_r flash to RAM transitional function -- Changes for v2: - Added commit message - Minor adjustment to new stack address comment
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/u-boot-x86.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/u-boot-x86.h b/arch/x86/include/asm/u-boot-x86.h
index 755f88a..c3d2277 100644
--- a/arch/x86/include/asm/u-boot-x86.h
+++ b/arch/x86/include/asm/u-boot-x86.h
@@ -61,5 +61,7 @@ u32 isa_map_rom(u32 bus_addr, int size);
int video_bios_init(void);
int video_init(void);
+void board_init_f_r_trampoline(ulong) __attribute__ ((noreturn));
+void board_init_f_r(void) __attribute__ ((noreturn));
#endif /* _U_BOOT_I386_H_ */