From 2f6c060656b49753ed8ff5998ab712ec6c4f387b Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 18 Jun 2013 21:26:23 +0200 Subject: imx233: fix bootloader for stmp3600 and stmp3700 Change-Id: Icfdf4c0a35813576c9d2a60558b4c00599f091fc --- bootloader/imx233.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3