Skip to content

Commit

Permalink
[ARM] 3354/1: NAS100d: fix power led handling
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alessandro Zummo authored and Russell King committed Mar 8, 2006
1 parent 3c8fdae commit dcc8fa5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-ixp4xx/nas100d-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dcc8fa5

Please sign in to comment.