diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-09-09 09:50:39 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-19 22:46:22 +0200 |
commit | 3ba8bf7c6d6c09b9823b08b03d2d155907313238 (patch) | |
tree | dcb9243cd47eb640e306ba6eba658e14b7429809 /board/wepep250 | |
parent | 9f80a20e05f20ab6b20be3addee969e1306ee3d5 (diff) | |
download | u-boot-3ba8bf7c6d6c09b9823b08b03d2d155907313238.zip u-boot-3ba8bf7c6d6c09b9823b08b03d2d155907313238.tar.gz u-boot-3ba8bf7c6d6c09b9823b08b03d2d155907313238.tar.bz2 |
PXA: pxa-regs.h cleanup
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'board/wepep250')
-rw-r--r-- | board/wepep250/wepep250.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/board/wepep250/wepep250.c b/board/wepep250/wepep250.c index fe4b6a9..6e41ea6 100644 --- a/board/wepep250/wepep250.c +++ b/board/wepep250/wepep250.c @@ -22,6 +22,7 @@ #include <common.h> #include <asm/arch/pxa-regs.h> +#include <asm/io.h> DECLARE_GLOBAL_DATA_PTR; @@ -33,13 +34,13 @@ int board_init (void) * Setup GPIO stuff to get serial working */ #if defined( CONFIG_FFUART ) - GPDR1 = 0x80; - GAFR1_L = 0x8010; + writel(0x80, GPDR1); + writel(0x8010, GAFR1_L); #elif defined( CONFIG_BTUART ) - GPDR1 = 0x800; - GAFR1_L = 0x900000; + writel(0x800, GPDR1); + writel(0x900000, GAFR1_L); #endif - PSSR = 0x20; + writel(0x20, PSSR); return 0; } |