mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
imx233: print power up source in the bootloader
Change-Id: I9ff4738b7efdb25ab57b0061f60c7fde58b9a0b5
This commit is contained in:
parent
c735ff2ac0
commit
c4450b9baf
2 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue