summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-09-22 21:13:12 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-09-22 21:13:12 +0100
commit6e553e315d31ca6f5daab9349bab02aa51e53ea3 (patch)
tree3e155a111023e7f8a7a8f9443aa5a2cc7636d2d0 /firmware/target/arm
parent673ee486758504c25dd794e460a58d86181be133 (diff)
fix red on stmp<3780
Change-Id: I74f0450e8f42032265b980b95f17b0b05d9dffa5
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/imx233/debug-imx233.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c
index 215c6dbc4a..89365cb148 100644
--- a/firmware/target/arm/imx233/debug-imx233.c
+++ b/firmware/target/arm/imx233/debug-imx233.c
@@ -254,7 +254,9 @@ 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);
+#if IMX233_SUBTARGET >= 3780
lcd_putsf(0, line++, "pwrup: %x", BF_RD(POWER_STS, PWRUP_SOURCE));
+#endif
lcd_update();
yield();