forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/bootp/init.S
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/arch/arm/boot/bootp/init.S
34 *
45 * Copyright (C) 2000-2003 Russell King.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 *
107 * "Header" file for splitting kernel + initrd. Note that we pass
118 * r0 through to r3 straight through.
....@@ -16,7 +13,7 @@
1613 * size immediately following the kernel, we could build this into
1714 * a binary blob, and concatenate the zImage using the cat command.
1815 */
19
- .section .start,#alloc,#execinstr
16
+ .section .start, "ax"
2017 .type _start, #function
2118 .globl _start
2219
....@@ -44,7 +41,7 @@
4441 */
4542 movne r10, #0 @ terminator
4643 movne r4, #2 @ Size of this entry (2 words)
47
- stmneia r9, {r4, r5, r10} @ Size, ATAG_CORE, terminator
44
+ stmiane r9, {r4, r5, r10} @ Size, ATAG_CORE, terminator
4845
4946 /*
5047 * find the end of the tag list, and then add an INITRD tag on the end.