diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-02-28 22:44:57 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-02-28 22:45:30 +0100 |
commit | c4450b9baf0b09d1da054f282603573547b7ad14 (patch) | |
tree | 2f489e6f7441dd5c36abbf778d5dcbf325ec7357 /bootloader/imx233.c | |
parent | c735ff2ac0972a9f7563ed68192c41dbe3bbbea4 (diff) | |
download | rockbox-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.c | 2 |
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 @@ | |||
35 | #include "disk.h" | 35 | #include "disk.h" |
36 | #include "panic.h" | 36 | #include "panic.h" |
37 | #include "power.h" | 37 | #include "power.h" |
38 | #include "power-imx233.h" | ||
38 | #include "system-target.h" | 39 | #include "system-target.h" |
39 | #include "fmradio_i2c.h" | 40 | #include "fmradio_i2c.h" |
40 | #include "version.h" | 41 | #include "version.h" |
@@ -126,6 +127,7 @@ void main(uint32_t arg, uint32_t addr) | |||
126 | //button_debug_screen(); | 127 | //button_debug_screen(); |
127 | printf("Boot version: %s", RBVERSION); | 128 | printf("Boot version: %s", RBVERSION); |
128 | printf("arg=%x addr=%x", arg, addr); | 129 | printf("arg=%x addr=%x", arg, addr); |
130 | printf("power up source: %x", __XTRACT(HW_POWER_STS, PWRUP_SOURCE)); | ||
129 | 131 | ||
130 | #ifdef SANSA_FUZEPLUS | 132 | #ifdef SANSA_FUZEPLUS |
131 | extern void imx233_mmc_disable_window(void); | 133 | extern void imx233_mmc_disable_window(void); |