From c4450b9baf0b09d1da054f282603573547b7ad14 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 28 Feb 2012 22:44:57 +0100 Subject: imx233: print power up source in the bootloader Change-Id: I9ff4738b7efdb25ab57b0061f60c7fde58b9a0b5 --- bootloader/imx233.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bootloader') 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); -- cgit v1.2.3