]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: AR7: Initialize GPIO earlier
authorFlorian Fainelli <florian@openwrt.org>
Sun, 29 Aug 2010 15:08:41 +0000 (17:08 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:46 +0000 (19:08 +0100)
commitded6db97eb90e25c24edb0fc4945f26119ffe37f
tree67d37a08a426247ee059391c54bd363e542a4ca8
parentb7740682d14b77d9712b6f4ae3b651bc7b49e86d
MIPS: AR7: Initialize GPIO earlier

In order to detect the Titan variant, we must initialize GPIOs earlier since
detection relies on some GPIO values to be set.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/1562/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
arch/mips/ar7/gpio.c
arch/mips/ar7/prom.c
arch/mips/include/asm/mach-ar7/ar7.h