From 926e540be235f7757036b65509bf75f118f07694 Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 2 Sep 2009 10:04:12 +0000 Subject: [ramips] share prom code git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17466 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ramips/files/arch/mips/ralink/rt288x/Makefile | 2 +- .../ramips/files/arch/mips/ralink/rt288x/prom.c | 35 ---------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 target/linux/ramips/files/arch/mips/ralink/rt288x/prom.c (limited to 'target/linux/ramips/files/arch/mips/ralink/rt288x') diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile b/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile index cac4187d6..ab98fac7e 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile @@ -8,7 +8,7 @@ # under the terms of the GNU General Public License version 2 as published # by the Free Software Foundation. -obj-y := prom.o irq.o setup.o rt288x.o devices.o +obj-y := irq.o setup.o rt288x.o devices.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/prom.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/prom.c deleted file mode 100644 index 8becfc92e..000000000 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/prom.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Ralink RT288x SoC specific prom routines - * - * Copyright (C) 2008 Gabor Juhos - * Copyright (C) 2008 Imre Kaloz - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published - * by the Free Software Foundation. - */ - -#include -#include -#include -#include - -#include -#include - -#include -#include - -void __init prom_init(void) -{ - printk(KERN_DEBUG "prom: fw_arg0=%08x, fw_arg1=%08x, " - "fw_arg2=%08x, fw_arg3=%08x\n", - (unsigned int)fw_arg0, (unsigned int)fw_arg1, - (unsigned int)fw_arg2, (unsigned int)fw_arg3); -} - -void __init prom_free_prom_memory(void) -{ - /* We do not have to prom memory to free */ -} - -- cgit v1.2.3