* [RFC 12/14] Coldfire generic GPIO (m68knommu)
@ 2009-03-11 21:56 Steven King
0 siblings, 0 replies; only message in thread
From: Steven King @ 2009-03-11 21:56 UTC (permalink / raw)
To: uClinux development list; +Cc: linux-kernel, Greg Ungerer
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-11 22:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11 21:56 [RFC 12/14] Coldfire generic GPIO (m68knommu) Steven King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox