forked from len0rd/rockbox
imx233: add power-up source to the debug menu
Change-Id: Ib67385354b1d6529d41198bfdcb1ecd092e9b98b
This commit is contained in:
parent
5869ad2c87
commit
420eb66cab
1 changed files with 1 additions and 0 deletions
|
|
@ -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: 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: 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++, "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();
|
lcd_update();
|
||||||
yield();
|
yield();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue