From 105a0eb0b70638500f7d35730fc39751f1f26f8d Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 13 Oct 2020 21:33:55 -0400 Subject: mrobe500 bootloader fix Change-Id: I0ab99a427df34ef6c5899a280953250660ffc156 --- bootloader/mrobe500.c | 20 ++++++-------------- 1 file 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); } -- cgit v1.2.3