1
0
Fork 0
forked from len0rd/rockbox

imx233: fix bootloader for stmp3600 and stmp3700

Change-Id: Icfdf4c0a35813576c9d2a60558b4c00599f091fc
This commit is contained in:
Amaury Pouly 2013-06-18 21:26:23 +02:00
parent 277d358eda
commit 2f6c060656

View file

@ -52,7 +52,7 @@ extern char loadaddressend[];
static void usb_mode(int connect_timeout) static void usb_mode(int connect_timeout)
{ {
int button; int button;
usb_init(); usb_init();
usb_start_monitoring(); usb_start_monitoring();
@ -150,7 +150,9 @@ void main(uint32_t arg, uint32_t addr)
printf("Boot version: %s", RBVERSION); printf("Boot version: %s", RBVERSION);
printf("arg=%x addr=%x", arg, addr); printf("arg=%x addr=%x", arg, addr);
#if IMX233_SUBTARGET >= 3780
printf("power up source: %x", BF_RD(POWER_STS, PWRUP_SOURCE)); printf("power up source: %x", BF_RD(POWER_STS, PWRUP_SOURCE));
#endif
if(arg == 0xfee1dead) if(arg == 0xfee1dead)
{ {