]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e8e3b5a44f12bf94e0b415652e233cda444e6bc
tree1a4addd683e8e7a7f88eefa4c2a49382a23192ab
parent070005da461220624ae48b12f038770df6320a39
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