imx233: rewrite power using new registers

Change-Id: Ifbee91161220419f4d1750672b5c4ae3537cefca
This commit is contained in:
Amaury Pouly 2013-06-16 17:16:48 +02:00
parent b73fda3a05
commit 7c5b65b9d2
7 changed files with 138 additions and 250 deletions

View file

@ -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)
{