summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-16 17:16:48 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-16 18:21:43 +0200
commit7c5b65b9d234f819447195e3f852d9b59a225813 (patch)
treeb49f4741fe792b07456bfc7ad4e71a7edbb01c0d /bootloader
parentb73fda3a05f78a3ce78708e319f2eb719fd55719 (diff)
downloadrockbox-7c5b65b9d234f819447195e3f852d9b59a225813.tar.gz
rockbox-7c5b65b9d234f819447195e3f852d9b59a225813.tar.bz2
rockbox-7c5b65b9d234f819447195e3f852d9b59a225813.zip
imx233: rewrite power using new registers
Change-Id: Ifbee91161220419f4d1750672b5c4ae3537cefca
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/imx233.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/imx233.c b/bootloader/imx233.c
index 9f6525e735..c9e968ee66 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)
{