]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 3354/1: NAS100d: fix power led handling
authorAlessandro Zummo <a.zummo@towertech.it>
Wed, 8 Mar 2006 23:45:10 +0000 (23:45 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 8 Mar 2006 23:45:10 +0000 (23:45 +0000)
Patch from Alessandro Zummo

Disable GPIO clocks to allow
the power led to work properly.

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp4xx/nas100d-setup.c

index 856d56f3b2ae51a8f4a8db0255b277c5a3d9fc7b..a3b4c6ac570858e42ce96b8618cecfbaf80ea089 100644 (file)
@@ -113,6 +113,9 @@ static void __init nas100d_init(void)
 {
        ixp4xx_sys_init();
 
+       /* gpio 14 and 15 are _not_ clocks */
+       *IXP4XX_GPIO_GPCLKR = 0;
+
        nas100d_flash_resource.start = IXP4XX_EXP_BUS_BASE(0);
        nas100d_flash_resource.end =
                IXP4XX_EXP_BUS_BASE(0) + ixp4xx_exp_bus_size - 1;