diff options
Diffstat (limited to 'arch/mips/boot/start.c')
-rw-r--r-- | arch/mips/boot/start.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/mips/boot/start.c b/arch/mips/boot/start.c new file mode 100644 index 0000000000..81603c8d7a --- /dev/null +++ b/arch/mips/boot/start.c @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Startup Code for MIPS CPU + * + * Copyright (C) 2011, 2015 Antony Pavlov <antonynpavlov@gmail.com> + */ + +#include <linux/kernel.h> + +void __noreturn _start(void *fdt, u32 fdt_size, u32 relocaddr); +void __noreturn relocate_code(void *fdt, u32 fdt_size, u32 relocaddr); + +void __noreturn __section(.text_entry) _start(void *fdt, u32 fdt_size, + u32 relocaddr) +{ + relocate_code(fdt, fdt_size, relocaddr); +} |