Revert the command line appending, was causing some devices not to boot
[openwrt.git] / target / linux / atheros-2.6 / files / arch / mips / atheros / prom.c
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright MontaVista Software Inc
7 * Copyright (C) 2003 Atheros Communications, Inc., All Rights Reserved.
8 * Copyright (C) 2006 FON Technology, SL.
9 * Copyright (C) 2006 Imre Kaloz <kaloz@openwrt.org>
10 * Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org>
11 */
12
13 /*
14 * Prom setup file for ar531x
15 */
16
17 #include <linux/init.h>
18 #include <linux/autoconf.h>
19 #include <linux/kernel.h>
20 #include <linux/string.h>
21 #include <linux/mm.h>
22 #include <linux/bootmem.h>
23
24 #include <asm/bootinfo.h>
25 #include <asm/addrspace.h>
26 #include "ar531x.h"
27
28 void __init prom_init(void)
29 {
30 char **argv;
31
32 mips_machgroup = MACH_GROUP_ATHEROS;
33 mips_machtype = -1;
34
35 DO_AR5312(ar5312_prom_init();)
36 DO_AR5315(ar5315_prom_init();)
37 #if 0
38 argv = (char **)fw_arg1;
39 /* RedBoot desired command line is argv[1] */
40 strcat(arcs_cmdline, argv[1]);
41 #endif
42 }
43
44 void __init prom_free_prom_memory(void)
45 {
46 }
This page took 0.064464 seconds and 5 git commands to generate.