summaryrefslogtreecommitdiffstats
path: root/firmware/common
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-08-08 02:33:49 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2020-08-08 02:41:13 -0400
commitd7b9eb6b63e073238480cb2a95b0cf529e17541a (patch)
tree06f801294e6c177f92949004a3519329a8e07bc0 /firmware/common
parentadce547e132a6f12cf3c3a552df6102244a970cb (diff)
downloadrockbox-d7b9eb6b63e073238480cb2a95b0cf529e17541a.tar.gz
rockbox-d7b9eb6b63e073238480cb2a95b0cf529e17541a.tar.bz2
rockbox-d7b9eb6b63e073238480cb2a95b0cf529e17541a.zip
ROLO - Enable multiboot firmware
I never added multiboot awareness to ROLO When a new firmware file was loaded [Bootdata] would not be copied to the new instance resulting in the firmware running off the internal drive till next reboot Bootloaders shares the rb-loader code but should not be affected by the removal of static from write_bootdata() Change-Id: Iccb18eebeee5c59f9534df51eb6826876c441762
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/rb-loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/rb-loader.c b/firmware/common/rb-loader.c
index 8bf553a3a8..1ded8c2335 100644
--- a/firmware/common/rb-loader.c
+++ b/firmware/common/rb-loader.c
@@ -36,7 +36,7 @@
* Returns payload len on success,
* On error returns EKEY_NOT_FOUND
*/
-static int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume)
+int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume)
{
struct boot_data_t bl_boot_data;
struct boot_data_t *fw_boot_data = NULL;