summaryrefslogtreecommitdiffstats
path: root/arch/mips/lasat/image/head.S
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--arch/mips/lasat/image/head.S32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/mips/lasat/image/head.S b/arch/mips/lasat/image/head.S
new file mode 100644
index 000000000..1a27312d4
--- /dev/null
+++ b/arch/mips/lasat/image/head.S
@@ -0,0 +1,32 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/lasat/head.h>
+
+ .text
+ .section .text..start, "ax"
+ .set noreorder
+ .set mips3
+
+ /* Magic words identifying a software image */
+ .word LASAT_K_MAGIC0_VAL
+ .word LASAT_K_MAGIC1_VAL
+
+ /* Image header version */
+ .word 0x00000002
+
+ /* image start and size */
+ .word _image_start
+ .word _image_size
+
+ /* start of kernel and entrypoint in uncompressed image */
+ .word _kernel_start
+ .word _kernel_entry
+
+ /* Here we have room for future flags */
+
+ .org 0x40
+reldate:
+ .word TIMESTAMP
+
+ .org 0x50
+release:
+ .string VERSION