imx233: fix bootloader for stmp3600 and stmp3700
Change-Id: Icfdf4c0a35813576c9d2a60558b4c00599f091fc
diff --git a/bootloader/imx233.c b/bootloader/imx233.c
index c9e968e..dfd4b0b 100644
--- a/bootloader/imx233.c
+++ b/bootloader/imx233.c
@@ -52,7 +52,7 @@
static void usb_mode(int connect_timeout)
{
int button;
-
+
usb_init();
usb_start_monitoring();
@@ -150,7 +150,9 @@
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)
{