summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-09-22 21:02:31 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-09-22 21:03:31 +0100
commit420eb66cab6f4664b37dcb985ebad34ce2f475fc (patch)
tree049a939463a74714e54f8aa56ec7cd48fc3dcf5b /firmware/target/arm
parent5869ad2c87aa3414b87049f88fd453794c3f011d (diff)
downloadrockbox-420eb66cab6f4664b37dcb985ebad34ce2f475fc.tar.gz
rockbox-420eb66cab6f4664b37dcb985ebad34ce2f475fc.zip
imx233: add power-up source to the debug menu
Change-Id: Ib67385354b1d6529d41198bfdcb1ecd092e9b98b
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/imx233/debug-imx233.c1
1 files changed, 1 insertions, 0 deletions
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();