diff options
author | sfking@fdwdc.com <sfking@fdwdc.com> | 2009-06-20 01:11:10 (GMT) |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-09-10 02:01:23 (GMT) |
commit | 7846fe800a81adae1e28d9d035b5226f75358280 (patch) | |
tree | ef9d2f48acb2bf5c916af71643723bc4f6f420f4 /arch/m68knommu/platform/532x/config.c | |
parent | f7a20ba06435d067247bd50a15a1d550b9b3fc7d (diff) | |
download | linux-fsl-qoriq-7846fe800a81adae1e28d9d035b5226f75358280.tar.xz |
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 cdb7619..28eb9ea 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); } |