diff options
Diffstat (limited to 'arch/arm/mach-omap/omap_bootinfo.S')
-rw-r--r-- | arch/arm/mach-omap/omap_bootinfo.S | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/omap_bootinfo.S b/arch/arm/mach-omap/omap_bootinfo.S new file mode 100644 index 0000000000..ffd0a3db3b --- /dev/null +++ b/arch/arm/mach-omap/omap_bootinfo.S @@ -0,0 +1,25 @@ +#include <config.h> +#include <linux/linkage.h> +#include <asm/assembler.h> + +.section ".text_bare_init","ax" +.globl omap_bootinfo +omap_bootinfo: + .word 0x0 + .word 0x0 + .word 0x0 + +.section ".text_bare_init","ax" +ENTRY(omap_save_bootinfo) + /* + * save data from rom boot loader + */ + adr r2, omap_bootinfo + ldr r1, [r0, #0x00] + str r1, [r2, #0x00] + ldr r1, [r0, #0x04] + str r1, [r2, #0x04] + ldr r1, [r0, #0x08] + str r1, [r2, #0x08] + mov pc, lr +ENDPROC(omap_save_bootinfo) |