| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 15/33] MIPS: Lasat: Cleanup firmware support for the Lasat platform. |
| From: | "Steven J. Hill" <sjhill@mips.com> |
| Date: | Mon, 25 Jun 2012 23:41:30 -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/lasat/prom.c | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/arch/mips/lasat/prom.c b/arch/mips/lasat/prom.c
index 20fde19..8bd3994 100644
--- a/arch/mips/lasat/prom.c
+++ b/arch/mips/lasat/prom.c
@@ -9,7 +9,7 @@
#include <linux/mm.h>
#include <linux/bootmem.h>
#include <linux/ioport.h>
-#include <asm/bootinfo.h>
+#include <asm/fw/fw.h>
#include <asm/lasat/lasat.h>
#include <asm/cpu.h>
@@ -81,9 +81,6 @@ static struct at93c_defs at93c_defs[N_MACHTYPES] = {
void __init prom_init(void)
{
- int argc = fw_arg0;
- char **argv = (char **) fw_arg1;
-
setup_prom_vectors();
if (IS_LASAT_200()) {
@@ -98,11 +95,7 @@ void __init prom_init(void)
lasat_init_board_info(); /* Read info from EEPROM */
- /* Get the command line */
- if (argc > 0) {
- strncpy(arcs_cmdline, argv[0], COMMAND_LINE_SIZE-1);
- arcs_cmdline[COMMAND_LINE_SIZE-1] = '\0';
- }
+ fw_init_cmdline();
/* Set the I/O base address */
set_io_port_base(KSEG1);
--
1.7.10.3
|
| Previous by Date: | [PATCH 31/33] MIPS: txx9: Cleanup files effected by firmware changes., Steven J. Hill |
|---|---|
| Next by Date: | [PATCH 21/33] MIPS: Netlogic: Cleanup firmware support for the XLR platform., Steven J. Hill |
| Previous by Thread: | [PATCH 31/33] MIPS: txx9: Cleanup files effected by firmware changes., Steven J. Hill |
| Next by Thread: | [PATCH 21/33] MIPS: Netlogic: Cleanup firmware support for the XLR platform., Steven J. Hill |
| Indexes: | [Date] [Thread] [Top] [All Lists] |