diff options
author | sfking@fdwdc.com <sfking@fdwdc.com> | 2009-06-19 18:11:10 -0700 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-09-10 12:01:23 +1000 |
commit | 7846fe800a81adae1e28d9d035b5226f75358280 (patch) | |
tree | ef9d2f48acb2bf5c916af71643723bc4f6f420f4 /arch/m68knommu/platform/532x/config.c | |
parent | f7a20ba06435d067247bd50a15a1d550b9b3fc7d (diff) |
generic GPIO support for the Freescale Coldfire 532x.
Add support for the 532x.
Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/platform/532x/config.c')
-rw-r--r-- | arch/m68knommu/platform/532x/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68knommu/platform/532x/config.c b/arch/m68knommu/platform/532x/config.c index cdb761971f7..28eb9ea55f4 100644 --- a/arch/m68knommu/platform/532x/config.c +++ b/arch/m68knommu/platform/532x/config.c @@ -438,8 +438,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); } |