diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-16 17:16:48 +0200 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-16 18:21:43 +0200 |
| commit | 7c5b65b9d234f819447195e3f852d9b59a225813 (patch) | |
| tree | b49f4741fe792b07456bfc7ad4e71a7edbb01c0d /bootloader | |
| parent | b73fda3a05f78a3ce78708e319f2eb719fd55719 (diff) | |
| download | rockbox-7c5b65b9d234f819447195e3f852d9b59a225813.zip rockbox-7c5b65b9d234f819447195e3f852d9b59a225813.tar.gz rockbox-7c5b65b9d234f819447195e3f852d9b59a225813.tar.bz2 rockbox-7c5b65b9d234f819447195e3f852d9b59a225813.tar.xz | |
imx233: rewrite power using new registers
Change-Id: Ifbee91161220419f4d1750672b5c4ae3537cefca
Diffstat (limited to 'bootloader')
| -rw-r--r-- | bootloader/imx233.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/imx233.c b/bootloader/imx233.c index 9f6525e..c9e968e 100644 --- a/bootloader/imx233.c +++ b/bootloader/imx233.c @@ -150,7 +150,7 @@ void main(uint32_t arg, uint32_t addr) printf("Boot version: %s", RBVERSION); printf("arg=%x addr=%x", arg, addr); - printf("power up source: %x", __XTRACT(HW_POWER_STS, PWRUP_SOURCE)); + printf("power up source: %x", BF_RD(POWER_STS, PWRUP_SOURCE)); if(arg == 0xfee1dead) { |