summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/boot-x1000.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-03 19:56:26 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-03-11 11:15:56 -0500
commit428491df697e0a87eb14512151b3ce969dae8c54 (patch)
tree2b89996fbac4450001385fe54741bc361608ace5 /firmware/target/mips/ingenic_x1000/boot-x1000.h
parent7fa48faeb55fb43b6a4e727d0abd104b267c89a4 (diff)
downloadrockbox-428491df697e0a87eb14512151b3ce969dae8c54.tar.gz
rockbox-428491df697e0a87eb14512151b3ce969dae8c54.zip
x1000: support new binary header in rolo
Change-Id: I192c3d69616c39534ff329174c4d8d4a357d014d
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