[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200903111456.10075.sfking@fdwdc.com>
Date: Wed, 11 Mar 2009 13:56:09 -0800
From: Steven King <sfking@...dc.com>
To: uClinux development list <uclinux-dev@...inux.org>
Cc: linux-kernel@...r.kernel.org, Greg Ungerer <gerg@...pgear.com>
Subject: [RFC 12/14] Coldfire generic GPIO (m68knommu)
diff --git a/arch/m68knommu/platform/532x/config.c
b/arch/m68knommu/platform/532x/config.c
index a347623..0cd97c5 100644
--- a/arch/m68knommu/platform/532x/config.c
+++ b/arch/m68knommu/platform/532x/config.c
@@ -383,8 +383,8 @@ void gpio_init(void)
/* Initialize TIN3 as a GPIO output to enable the write
half of the latch */
MCF_GPIO_PAR_TIMER = 0x00;
- MCF_GPIO_PDDR_TIMER = 0x08;
- MCF_GPIO_PCLRR_TIMER = 0x0;
+ __raw_writeb(0x08, MCFGPIO_PDDR_TIMER);
+ __raw_writeb(0x00, MCFGPIO_PCLRR_TIMER);
}
--
Steven King -- sfking at fdwdc dot com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists