summaryrefslogtreecommitdiff
path: root/board/uc101
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2007-01-15 13:41:04 +0100
committerWolfgang Denk <wd@denx.de>2007-01-15 13:41:04 +0100
commitf11033e739017c5c4eac55f859b8b222ee8d602c (patch)
tree4b07b98f378e685c096937c2aeca06e006698af7 /board/uc101
parentddd4123336aad881f50dc34892ac150cfa8143fe (diff)
parentca43ba18e910206ef8063e4b22d282630bff3fd2 (diff)
downloadu-boot-imx-f11033e739017c5c4eac55f859b8b222ee8d602c.zip
u-boot-imx-f11033e739017c5c4eac55f859b8b222ee8d602c.tar.gz
u-boot-imx-f11033e739017c5c4eac55f859b8b222ee8d602c.tar.bz2
Merge with /home/hs/SC3/u-boot
Some code cleanup.
Diffstat (limited to 'board/uc101')
-rw-r--r--board/uc101/uc101.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/board/uc101/uc101.c b/board/uc101/uc101.c
index 90624e5..b803585 100644
--- a/board/uc101/uc101.c
+++ b/board/uc101/uc101.c
@@ -65,12 +65,10 @@
#define GP_SIMP_SET_O(n, v) (pgpio->simple_dvo = v ? \
(pgpio->simple_dvo | (1 << n)) : \
(pgpio->simple_dvo & ~(1 << n)) )
-
+
#define GP_SIMP_GET_O(n) ((pgpio->simple_dvo >> n) & 1)
#define GP_SIMP_GET_I(n) ((pgpio->simple_ival >> n) & 1)
-
-
#define GP_SINT_SET_O(n, v) (pgpio->sint_dvo = v ? \
(pgpio->sint_dvo | (1 << n)) : \
(pgpio->sint_dvo & ~(1 << n)) )
@@ -228,7 +226,7 @@ int checkboard (void)
static void init_ports (void)
{
- volatile struct mpc5xxx_gpio *pgpio =
+ volatile struct mpc5xxx_gpio *pgpio =
(struct mpc5xxx_gpio *)MPC5XXX_GPIO;
GP_SIMP_ENABLE_I(GPIO_USB_8); /* HEX Bit 3 */
@@ -371,4 +369,3 @@ void hw_watchdog_reset(void)
*(vu_long *)MPC5XXX_GPT0_ENABLE = GPT_OUT_0;
}
#endif
-