mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-02-09 20:20:17 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user