1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 13:38:06 +02:00
openwrt-xburst/target/linux/atheros/files-2.6.26/arch/mips/atheros/prom.c
hauke a348226cd2 [atheros]: move files for kernel 2.6.26 to a special directory.
In kernel 2.6.28 the directory structure has chanced, so for kernel 2.6.26 a own files directory is needed.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-20 16:19:46 +00:00

46 lines
1006 B
C

/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright MontaVista Software Inc
* Copyright (C) 2003 Atheros Communications, Inc., All Rights Reserved.
* Copyright (C) 2006 FON Technology, SL.
* Copyright (C) 2006 Imre Kaloz <kaloz@openwrt.org>
* Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org>
*/
/*
* Prom setup file for ar531x
*/
#include <linux/init.h>
#include <linux/autoconf.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
#include <asm/bootinfo.h>
#include <asm/addrspace.h>
#include <ar531x.h>
void __init prom_init(void)
{
char **argv;
mips_machtype = -1;
DO_AR5312(ar5312_prom_init();)
DO_AR5315(ar5315_prom_init();)
#if 0
argv = (char **)fw_arg1;
/* RedBoot desired command line is argv[1] */
strcat(arcs_cmdline, argv[1]);
#endif
}
void __init prom_free_prom_memory(void)
{
}