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
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>
14 * Prom setup file for ar531x
17 #include <linux/init.h>
18 #include <linux/autoconf.h>
19 #include <linux/kernel.h>
20 #include <linux/string.h>
22 #include <linux/bootmem.h>
24 #include <asm/bootinfo.h>
25 #include <asm/addrspace.h>
28 void __init
prom_init(void)
32 mips_machgroup
= MACH_GROUP_ATHEROS
;
35 DO_AR5312(ar5312_prom_init();)
36 DO_AR5315(ar5315_prom_init();)
38 argv
= (char **)fw_arg1
;
39 /* RedBoot desired command line is argv[1] */
40 strcat(arcs_cmdline
, argv
[1]);
44 void __init
prom_free_prom_memory(void)
This page took 0.053019 seconds and 5 git commands to generate.