summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/boot-x1000.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/boot-x1000.h')
-rw-r--r--firmware/target/mips/ingenic_x1000/boot-x1000.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/boot-x1000.h b/firmware/target/mips/ingenic_x1000/boot-x1000.h
index 400eb93dc1..620d7de89a 100644
--- a/firmware/target/mips/ingenic_x1000/boot-x1000.h
+++ b/firmware/target/mips/ingenic_x1000/boot-x1000.h
@@ -24,6 +24,8 @@
24 24
25#include "x1000/cpm.h" 25#include "x1000/cpm.h"
26#include <stdbool.h> 26#include <stdbool.h>
27#include <stdint.h>
28#include <stddef.h>
27 29
28enum { 30enum {
29 BOOT_OPTION_ROCKBOX = 0, 31 BOOT_OPTION_ROCKBOX = 0,
@@ -43,6 +45,9 @@ enum {
43 BOOT_FLAG_USB_BOOT = (1 << 30), 45 BOOT_FLAG_USB_BOOT = (1 << 30),
44}; 46};
45 47
48void x1000_boot_rockbox(const void* source, size_t length)
49 __attribute__((section(".icode")));
50
46/* Note: these functions are inlined to minimize SPL code size. 51/* Note: these functions are inlined to minimize SPL code size.
47 * They are private to the X1000 early boot code anyway... */ 52 * They are private to the X1000 early boot code anyway... */
48 53