summaryrefslogtreecommitdiffstats
path: root/bootloader/mrobe500.c
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/mrobe500.c
parentcddd8d66e27177d4381953237e054a53bfa92d25 (diff)
downloadrockbox-105a0eb0b7.tar.gz
rockbox-105a0eb0b7.zip
mrobe500 bootloader fix
Change-Id: I0ab99a427df34ef6c5899a280953250660ffc156
Diffstat (limited to 'bootloader/mrobe500.c')
-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 @@
* KIND, either express or implied.
*
****************************************************************************/
-
+
#include "inttypes.h"
#include "string.h"
#include "cpu.h"
@@ -31,21 +31,13 @@
#include "font.h"
#include "adc.h"
#include "backlight.h"
-#include "backlight-target.h"
#include "button.h"
-#include "panic.h"
#include "power.h"
#include "file.h"
#include "common.h"
#include "rb-loader.h"
#include "loader_strerror.h"
-#include "rbunicode.h"
#include "usb.h"
-#include "spi.h"
-#include "uart-target.h"
-#include "tsc2100.h"
-#include "time.h"
-#include "system-arm.h"
#include "version.h"
void main(void)
@@ -60,7 +52,7 @@ void main(void)
set_fiq_status(FIQ_DISABLED);
system_init();
kernel_init();
-
+
/* Now enable interrupts */
set_irq_level(IRQ_ENABLED);
set_fiq_status(FIQ_ENABLED);
@@ -70,8 +62,8 @@ void main(void)
font_init();
button_init();
usb_init();
-
-
+
+
power_init();
// enable_irq();
// enable_fiq();
@@ -112,7 +104,7 @@ void main(void)
reset_screen();
lcd_update();
}
-
+
sleep(50);
printf("ATA");
@@ -146,5 +138,5 @@ void main(void)
rc = kernel_entry();
/* Should not get here! */
- return rc;
+ while(1);
}