ARC: [cmdline] Don't overwrite u-boot provided bootargs
authorVineet Gupta <vgupta@synopsys.com>
Tue, 9 Apr 2013 10:48:04 +0000 (16:18 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 7 May 2013 08:13:57 +0000 (13:43 +0530)
commit9593a933d538a726b341cb06b3362d74931aa281
tree1a4addd683e8e7a7f88eefa4c2a49382a23192ab
parent6971881f2ae0e0208375dc40e1a9a4ce56f7c9d6
ARC: [cmdline] Don't overwrite u-boot provided bootargs

The existing code was wrong on several counts:

* uboot provided bootargs were copied into @boot_command_line, only to
  be over-written by setup_machine_fdt(), effectively lost

* @cmdline_p returned by setup_arch() to start_kernel() didn't include
  the DT /bootargs

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/setup.c