projects
/
openwrt
/
staging
/
kaloz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df77d3b
)
parse the board parameter from the command line first Signed-off-by: Andrea Tassi...
author
Gabor Juhos
<juhosg@openwrt.org>
Thu, 12 Feb 2009 08:08:14 +0000
(08:08 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Thu, 12 Feb 2009 08:08:14 +0000
(08:08 +0000)
SVN-Revision: 14482
target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
index 29c6c97cc634a5b8f6336c26092abc22cc7e9e04..03b03047e054e9dda1b6d77e0124b4b75e8bcfcd 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
@@
-168,9
+168,9
@@
static void ar71xx_prom_init_generic(void)
ar71xx_prom_argv = (char **)fw_arg1;
ar71xx_prom_envp = (char **)fw_arg2;
- p = ar71xx_prom_get
en
v("board");
+ p = ar71xx_prom_get
arg
v("board");
if (!p)
- p = ar71xx_prom_get
arg
v("board");
+ p = ar71xx_prom_get
en
v("board");
if (p)
ar71xx_mach_type = find_board_byname(p);