diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-02-12 08:08:14 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-02-12 08:08:14 +0000 |
commit | 7ec663a2add15cc9019e0d2ed6aea7168cc882e9 (patch) | |
tree | d76e596f3ea0f37e72b19081065f1babd524601a /target/linux/ar71xx | |
parent | df77d3b06d061404cf3210c4da185b65f77e42e6 (diff) | |
download | mtk-20170518-7ec663a2add15cc9019e0d2ed6aea7168cc882e9.zip mtk-20170518-7ec663a2add15cc9019e0d2ed6aea7168cc882e9.tar.gz mtk-20170518-7ec663a2add15cc9019e0d2ed6aea7168cc882e9.tar.bz2 |
parse the board parameter from the command line first Signed-off-by: Andrea Tassi <andrea.tassi at gmail.com> and WiFi(ed) - The Embedded Development Team (of Riccardo Coppola <coppola.riccardo at gmail.com>, Andrea Tassi <andrea.tassi at gmail.com> and Massimiliano Toce <massimiliano.toce at gmail.com>)
SVN-Revision: 14482
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/prom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c b/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c index 29c6c97..03b0304 100644 --- 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_getenv("board"); + p = ar71xx_prom_getargv("board"); if (!p) - p = ar71xx_prom_getargv("board"); + p = ar71xx_prom_getenv("board"); if (p) ar71xx_mach_type = find_board_byname(p); |