linux-mips
[Top] [All Lists]

[PATCH] MIPS: bcm63xx fix copy CONFIG_CMDLINE twice

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] MIPS: bcm63xx fix copy CONFIG_CMDLINE twice
From: Yoichi Yuasa <yuasa@linux-mips.org>
Date: Sun, 3 Jan 2010 14:39:11 +0900
Cc: yuasa@linux-mips.org, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=RC4wGJMPB5FFgaqQlRQ0gIkX2rs9Yd+FrvubCPjCqt8=; b=sDpEVY0SQcK9mlMj0qtn5G/EvWgVR3e57tm4oRht09aodGe9DNU2MosWXkw8MOE5jD n6SJq9X0z3b36JLGEjKOuh2pg3vr+FfCvQHceJH7aTBddnu+WFJrldBoVeUyLMnQoXOY gbczW7MTIN2jde4pNXbCpHJ4S1romSb9PYGDw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=YV/uN68d00je1n+J+w3nVbqCvnr3UZSJKzaxoj+7Kx3q1sIvFpn+1Z61cI80kh/U8k H/kIv7n1kytDJZvPywli/TOGDXc8KtLBnxi4ADu4DybZ5wS6EP4Zg9yjOfi9LcPxiuVC quB6qr91FgqFrgOQCmLIKg9G4Df6Tej3CqPMI=
Sender: linux-mips-bounce@linux-mips.org
builtin cmdline is copied by arch_mem_init()

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
 arch/mips/bcm63xx/prom.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/mips/bcm63xx/prom.c b/arch/mips/bcm63xx/prom.c
index fb284fb..be252ef 100644
--- a/arch/mips/bcm63xx/prom.c
+++ b/arch/mips/bcm63xx/prom.c
@@ -40,9 +40,6 @@ void __init prom_init(void)
        reg &= ~mask;
        bcm_perf_writel(reg, PERF_CKCTL_REG);
 
-       /* assign command line from kernel config */
-       strcpy(arcs_cmdline, CONFIG_CMDLINE);
-
        /* register gpiochip */
        bcm63xx_gpio_init();
 
-- 
1.6.5.7


<Prev in Thread] Current Thread [Next in Thread>