summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/system-x1000.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-05 17:46:58 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-03-25 21:36:51 +0000
commit5d0f697e87da01f5fe66d2e76af77b9bcdc6bbbc (patch)
tree7af09b65939db5a7b4a688236154fabf6f4b33af /firmware/target/mips/ingenic_x1000/system-x1000.c
parent3ae4a98e3bbe4f2c449e614cda67efea129f16b1 (diff)
downloadrockbox-5d0f697e87da01f5fe66d2e76af77b9bcdc6bbbc.tar.gz
rockbox-5d0f697e87da01f5fe66d2e76af77b9bcdc6bbbc.zip
x1000: remove the last vestiges of boot option support
There should be no need for any compatibility hacks since this value was mostly used internally between the SPL and bootloader. clk_init() was the only user in the main Rockbox binary which accessed it, but when loaded by the Rockbox bootloader that code will not be reached since BOOT_FLAG_CLK_INIT is already set. Change-Id: Idd68b9834172e652b47432bfb1e00c923ea35407
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/system-x1000.c')
-rw-r--r--firmware/target/mips/ingenic_x1000/system-x1000.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_x1000/system-x1000.c b/firmware/target/mips/ingenic_x1000/system-x1000.c
index d43c8e67e4..7542b97a3d 100644
--- a/firmware/target/mips/ingenic_x1000/system-x1000.c
+++ b/firmware/target/mips/ingenic_x1000/system-x1000.c
@@ -72,7 +72,6 @@ void system_early_init(void)
72 * This hack should keep everything working as usual. */ 72 * This hack should keep everything working as usual. */
73 if(jz_readf(CPM_MPCR, ON) == 0) { 73 if(jz_readf(CPM_MPCR, ON) == 0) {
74 init_boot_flags(); 74 init_boot_flags();
75 set_boot_option(BOOT_OPTION_ROCKBOX);
76 set_boot_flag(BOOT_FLAG_CLK_INIT); 75 set_boot_flag(BOOT_FLAG_CLK_INIT);
77 } 76 }
78#endif 77#endif