diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-04 00:59:39 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-12 18:25:10 +0000 |
commit | a87f93d8ffc6cf224947e88aee9cb912b8ec6f50 (patch) | |
tree | 5a7d51aaf50294a66140545af756ffa48f67bd55 /firmware/target/mips/ingenic_x1000/boot-x1000.h | |
parent | e6c2f26e8239a1d9e3db75fdb9d0fed05af992fa (diff) | |
download | rockbox-a87f93d8ffc6cf224947e88aee9cb912b8ec6f50.tar.gz rockbox-a87f93d8ffc6cf224947e88aee9cb912b8ec6f50.zip |
x1000: add function for booting linux kernels
Change-Id: I0750b084fe88d21a8686daf0681b32b1dcba8fec
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/boot-x1000.h')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/boot-x1000.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/boot-x1000.h b/firmware/target/mips/ingenic_x1000/boot-x1000.h index 620d7de89a..9faba649b5 100644 --- a/firmware/target/mips/ingenic_x1000/boot-x1000.h +++ b/firmware/target/mips/ingenic_x1000/boot-x1000.h | |||
@@ -47,6 +47,9 @@ enum { | |||
47 | 47 | ||
48 | void x1000_boot_rockbox(const void* source, size_t length) | 48 | void x1000_boot_rockbox(const void* source, size_t length) |
49 | __attribute__((section(".icode"))); | 49 | __attribute__((section(".icode"))); |
50 | void x1000_boot_linux(const void* source, size_t length, | ||
51 | void* load, void* entry, const char* args) | ||
52 | __attribute__((section(".icode"))); | ||
50 | 53 | ||
51 | /* Note: these functions are inlined to minimize SPL code size. | 54 | /* Note: these functions are inlined to minimize SPL code size. |
52 | * They are private to the X1000 early boot code anyway... */ | 55 | * They are private to the X1000 early boot code anyway... */ |