From 420eb66cab6f4664b37dcb985ebad34ce2f475fc Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 22 Sep 2016 21:02:31 +0100 Subject: imx233: add power-up source to the debug menu Change-Id: Ib67385354b1d6529d41198bfdcb1ecd092e9b98b --- firmware/target/arm/imx233/debug-imx233.c | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/target/arm/imx233/debug-imx233.c') diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c index 53b0c28a28..215c6dbc4a 100644 --- a/firmware/target/arm/imx233/debug-imx233.c +++ b/firmware/target/arm/imx233/debug-imx233.c @@ -254,6 +254,7 @@ bool dbg_hw_info_power(void) lcd_putsf(0, line++, "5v: dcdc: %d xfer: %d", info._5v_enable_dcdc, info._5v_dcdc_xfer); lcd_putsf(0, line++, "5v: thr: %d mV", info._5v_vbusvalid_thr); lcd_putsf(0, line++, "5v: use: %d cmps: %d", info._5v_vbusvalid_detect, info._5v_vbus_cmps); + lcd_putsf(0, line++, "pwrup: %x", BF_RD(POWER_STS, PWRUP_SOURCE)); lcd_update(); yield(); -- cgit v1.2.3