summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-18 21:26:23 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-18 21:26:23 +0200
commit2f6c060656b49753ed8ff5998ab712ec6c4f387b (patch)
treec6a19a40d5155dd1078c200df5b7278b01edc713
parent277d358eda7f7571450e09c615c8aaf67d7b4693 (diff)
downloadrockbox-2f6c060656b49753ed8ff5998ab712ec6c4f387b.tar.gz
rockbox-2f6c060656b49753ed8ff5998ab712ec6c4f387b.zip
imx233: fix bootloader for stmp3600 and stmp3700
Change-Id: Icfdf4c0a35813576c9d2a60558b4c00599f091fc
-rw-r--r--bootloader/imx233.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootloader/imx233.c b/bootloader/imx233.c
index c9e968ee66..dfd4b0b28b 100644
--- a/bootloader/imx233.c
+++ b/bootloader/imx233.c
@@ -52,7 +52,7 @@ extern char loadaddressend[];
52static void usb_mode(int connect_timeout) 52static void usb_mode(int connect_timeout)
53{ 53{
54 int button; 54 int button;
55 55
56 usb_init(); 56 usb_init();
57 usb_start_monitoring(); 57 usb_start_monitoring();
58 58
@@ -150,7 +150,9 @@ void main(uint32_t arg, uint32_t addr)
150 150
151 printf("Boot version: %s", RBVERSION); 151 printf("Boot version: %s", RBVERSION);
152 printf("arg=%x addr=%x", arg, addr); 152 printf("arg=%x addr=%x", arg, addr);
153#if IMX233_SUBTARGET >= 3780
153 printf("power up source: %x", BF_RD(POWER_STS, PWRUP_SOURCE)); 154 printf("power up source: %x", BF_RD(POWER_STS, PWRUP_SOURCE));
155#endif
154 156
155 if(arg == 0xfee1dead) 157 if(arg == 0xfee1dead)
156 { 158 {