| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 32/33] MIPS: vr41xx: Cleanup firmware support for vr41xx platforms. |
| From: | "Steven J. Hill" <sjhill@mips.com> |
| Date: | Mon, 25 Jun 2012 23:41:47 -0500 |
| Cc: | "Steven J. Hill" <sjhill@mips.com>, ralf@linux-mips.org |
| In-reply-to: | <1340685708-14408-1-git-send-email-sjhill@mips.com> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1340685708-14408-1-git-send-email-sjhill@mips.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
From: "Steven J. Hill" <sjhill@mips.com>
Signed-off-by: Steven J. Hill <sjhill@mips.com>
---
arch/mips/vr41xx/common/init.c | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/arch/mips/vr41xx/common/init.c b/arch/mips/vr41xx/common/init.c
index 2391632..a4c1f02 100644
--- a/arch/mips/vr41xx/common/init.c
+++ b/arch/mips/vr41xx/common/init.c
@@ -19,11 +19,9 @@
*/
#include <linux/init.h>
#include <linux/ioport.h>
-#include <linux/irq.h>
-#include <linux/string.h>
-#include <asm/bootinfo.h>
#include <asm/time.h>
+#include <asm/fw/fw.h>
#include <asm/vr41xx/irq.h>
#include <asm/vr41xx/vr41xx.h>
@@ -59,17 +57,7 @@ void __init plat_mem_setup(void)
void __init prom_init(void)
{
- int argc, i;
- char **argv;
-
- argc = fw_arg0;
- argv = (char **)fw_arg1;
-
- for (i = 1; i < argc; i++) {
- strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE);
- if (i < (argc - 1))
- strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE);
- }
+ fw_init_cmdline();
}
void __init prom_free_prom_memory(void)
--
1.7.10.3
|
| Previous by Date: | [PATCH 10/33] MIPS: Emma: Cleanup files effected by firmware changes., Steven J. Hill |
|---|---|
| Next by Date: | [PATCH 14/33] MIPS: lantiq: Cleanup files effected by firmware changes., Steven J. Hill |
| Previous by Thread: | [PATCH 10/33] MIPS: Emma: Cleanup files effected by firmware changes., Steven J. Hill |
| Next by Thread: | [PATCH 14/33] MIPS: lantiq: Cleanup files effected by firmware changes., Steven J. Hill |
| Indexes: | [Date] [Thread] [Top] [All Lists] |