/* * 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 * Copyright (C) 2006 Felix Fietkau */ /* * Prom setup file for ar531x */ #include #include #include #include #include #include #include #include #include "ar531x.h" void __init prom_init(void) { char **argv; mips_machgroup = MACH_GROUP_ATHEROS; mips_machtype = -1; DO_AR5312(ar5312_prom_init();) DO_AR5315(ar5315_prom_init();) argv = (char **)fw_arg1; /* RedBoot desired command line is argv[1] */ strcat(arcs_cmdline, argv[1]); } void __init prom_free_prom_memory(void) { }