From 945af8d723a29e9b6289d84250745ed0dc16fc81 Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 16 Jul 2003 21:53:01 +0000 Subject: * Add support for IceCube board (with MGT5100 and MPC5200 CPUs) * Add support for MGT5100 and MPC5200 processors --- cpu/arm925t/omap925.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpu/arm925t/omap925.c') diff --git a/cpu/arm925t/omap925.c b/cpu/arm925t/omap925.c index 1166ca6..ae62656 100644 --- a/cpu/arm925t/omap925.c +++ b/cpu/arm925t/omap925.c @@ -41,14 +41,14 @@ void gpiosetdir(ushort mask, ushort in) void gpiosetout(ushort mask, ushort out) { ushort *r_ptr, r_val; - + r_ptr = (ushort *)GPIO_DATA_OUTPUT_REG; /* set pointer */ r_val = *r_ptr & ~mask; /* get previous val, clear bits we want to change */ r_val |= (out & mask); /* set specified bits in value + plus origional ones */ - *r_ptr = r_val; /* write it out */ -/* + *r_ptr = r_val; /* write it out */ +/* * gcc screwed this one up :(. - * + * * *(ushort *)GPIO_DATA_OUTPUT_REG = (*(ushort *)GPIO_DATA_OUTPUT_REG & ~mask) | (out & mask); */ -- cgit v1.1