summaryrefslogtreecommitdiffstats
path: root/bootloader
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 /bootloader
parent277d358eda7f7571450e09c615c8aaf67d7b4693 (diff)
downloadrockbox-2f6c060656b49753ed8ff5998ab712ec6c4f387b.tar.gz
rockbox-2f6c060656b49753ed8ff5998ab712ec6c4f387b.tar.bz2
rockbox-2f6c060656b49753ed8ff5998ab712ec6c4f387b.zip
imx233: fix bootloader for stmp3600 and stmp3700
Change-Id: Icfdf4c0a35813576c9d2a60558b4c00599f091fc
Diffstat (limited to 'bootloader')
-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[];
static void usb_mode(int connect_timeout)
{
int button;
-
+
usb_init();
usb_start_monitoring();
@@ -150,7 +150,9 @@ void main(uint32_t arg, uint32_t addr)
printf("Boot version: %s", RBVERSION);
printf("arg=%x addr=%x", arg, addr);
+#if IMX233_SUBTARGET >= 3780
printf("power up source: %x", BF_RD(POWER_STS, PWRUP_SOURCE));
+#endif
if(arg == 0xfee1dead)
{