summaryrefslogtreecommitdiffstats
path: root/bootloader/imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-02-28 22:44:57 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2012-02-28 22:45:30 +0100
commitc4450b9baf0b09d1da054f282603573547b7ad14 (patch)
tree2f489e6f7441dd5c36abbf778d5dcbf325ec7357 /bootloader/imx233.c
parentc735ff2ac0972a9f7563ed68192c41dbe3bbbea4 (diff)
downloadrockbox-c4450b9baf0b09d1da054f282603573547b7ad14.tar.gz
rockbox-c4450b9baf0b09d1da054f282603573547b7ad14.zip
imx233: print power up source in the bootloader
Change-Id: I9ff4738b7efdb25ab57b0061f60c7fde58b9a0b5
Diffstat (limited to 'bootloader/imx233.c')
-rw-r--r--bootloader/imx233.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloader/imx233.c b/bootloader/imx233.c
index d808fc8aa9..2380dfae5b 100644
--- a/bootloader/imx233.c
+++ b/bootloader/imx233.c
@@ -35,6 +35,7 @@
#include "disk.h"
#include "panic.h"
#include "power.h"
+#include "power-imx233.h"
#include "system-target.h"
#include "fmradio_i2c.h"
#include "version.h"
@@ -126,6 +127,7 @@ void main(uint32_t arg, uint32_t addr)
//button_debug_screen();
printf("Boot version: %s", RBVERSION);
printf("arg=%x addr=%x", arg, addr);
+ printf("power up source: %x", __XTRACT(HW_POWER_STS, PWRUP_SOURCE));
#ifdef SANSA_FUZEPLUS
extern void imx233_mmc_disable_window(void);