summaryrefslogtreecommitdiff
path: root/board/uc101
diff options
context:
space:
mode:
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
-