summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-13 21:33:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-13 21:33:55 -0400
commit105a0eb0b70638500f7d35730fc39751f1f26f8d (patch)
treefa1d90f22253ae2c958c8b85f3f5bf1af37edddd /bootloader
parentcddd8d66e27177d4381953237e054a53bfa92d25 (diff)
downloadrockbox-105a0eb0b70638500f7d35730fc39751f1f26f8d.tar.gz
rockbox-105a0eb0b70638500f7d35730fc39751f1f26f8d.zip
mrobe500 bootloader fix
Change-Id: I0ab99a427df34ef6c5899a280953250660ffc156
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/mrobe500.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/bootloader/mrobe500.c b/bootloader/mrobe500.c
index e3d59051a1..245bd51c9b 100644
--- a/bootloader/mrobe500.c
+++ b/bootloader/mrobe500.c
@@ -18,7 +18,7 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22#include "inttypes.h" 22#include "inttypes.h"
23#include "string.h" 23#include "string.h"
24#include "cpu.h" 24#include "cpu.h"
@@ -31,21 +31,13 @@
31#include "font.h" 31#include "font.h"
32#include "adc.h" 32#include "adc.h"
33#include "backlight.h" 33#include "backlight.h"
34#include "backlight-target.h"
35#include "button.h" 34#include "button.h"
36#include "panic.h"
37#include "power.h" 35#include "power.h"
38#include "file.h" 36#include "file.h"
39#include "common.h" 37#include "common.h"
40#include "rb-loader.h" 38#include "rb-loader.h"
41#include "loader_strerror.h" 39#include "loader_strerror.h"
42#include "rbunicode.h"
43#include "usb.h" 40#include "usb.h"
44#include "spi.h"
45#include "uart-target.h"
46#include "tsc2100.h"
47#include "time.h"
48#include "system-arm.h"
49#include "version.h" 41#include "version.h"
50 42
51void main(void) 43void main(void)
@@ -60,7 +52,7 @@ void main(void)
60 set_fiq_status(FIQ_DISABLED); 52 set_fiq_status(FIQ_DISABLED);
61 system_init(); 53 system_init();
62 kernel_init(); 54 kernel_init();
63 55
64 /* Now enable interrupts */ 56 /* Now enable interrupts */
65 set_irq_level(IRQ_ENABLED); 57 set_irq_level(IRQ_ENABLED);
66 set_fiq_status(FIQ_ENABLED); 58 set_fiq_status(FIQ_ENABLED);
@@ -70,8 +62,8 @@ void main(void)
70 font_init(); 62 font_init();
71 button_init(); 63 button_init();
72 usb_init(); 64 usb_init();
73 65
74 66
75 power_init(); 67 power_init();
76// enable_irq(); 68// enable_irq();
77// enable_fiq(); 69// enable_fiq();
@@ -112,7 +104,7 @@ void main(void)
112 reset_screen(); 104 reset_screen();
113 lcd_update(); 105 lcd_update();
114 } 106 }
115 107
116 sleep(50); 108 sleep(50);
117 109
118 printf("ATA"); 110 printf("ATA");
@@ -146,5 +138,5 @@ void main(void)
146 rc = kernel_entry(); 138 rc = kernel_entry();
147 139
148 /* Should not get here! */ 140 /* Should not get here! */
149 return rc; 141 while(1);
150} 142}