From 428491df697e0a87eb14512151b3ce969dae8c54 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Thu, 3 Mar 2022 19:56:26 +0000 Subject: x1000: support new binary header in rolo Change-Id: I192c3d69616c39534ff329174c4d8d4a357d014d --- firmware/target/mips/ingenic_x1000/boot-x1000.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/target/mips/ingenic_x1000/boot-x1000.h') 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 @@ #include "x1000/cpm.h" #include +#include +#include enum { BOOT_OPTION_ROCKBOX = 0, @@ -43,6 +45,9 @@ enum { BOOT_FLAG_USB_BOOT = (1 << 30), }; +void x1000_boot_rockbox(const void* source, size_t length) + __attribute__((section(".icode"))); + /* Note: these functions are inlined to minimize SPL code size. * They are private to the X1000 early boot code anyway... */ -- cgit v1.2.3