projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[brcm63xx] register gpiochip earlier, allowing gpio-based runtime detection to be...
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
brcm63xx
/
files
/
arch
/
mips
/
bcm63xx
/
prom.c
diff --git
a/target/linux/brcm63xx/files/arch/mips/bcm63xx/prom.c
b/target/linux/brcm63xx/files/arch/mips/bcm63xx/prom.c
index db0ef555a8ae2310e6bb0b354dddb5d7aca9ca4c..964a1479c6b6bcf61122cd1c7d1a7ac87efde6c9 100644
(file)
--- a/
target/linux/brcm63xx/files/arch/mips/bcm63xx/prom.c
+++ b/
target/linux/brcm63xx/files/arch/mips/bcm63xx/prom.c
@@
-13,6
+13,7
@@
#include <bcm63xx_cpu.h>
#include <bcm63xx_io.h>
#include <bcm63xx_regs.h>
#include <bcm63xx_cpu.h>
#include <bcm63xx_io.h>
#include <bcm63xx_regs.h>
+#include <bcm63xx_gpio.h>
void __init prom_init(void)
{
void __init prom_init(void)
{
@@
-42,6
+43,9
@@
void __init prom_init(void)
/* assign command line from kernel config */
strcpy(arcs_cmdline, CONFIG_CMDLINE);
/* assign command line from kernel config */
strcpy(arcs_cmdline, CONFIG_CMDLINE);
+ /* register gpiochip */
+ bcm63xx_gpio_init();
+
/* do low level board init */
board_prom_init();
}
/* do low level board init */
board_prom_init();
}