diff options
author | Michal Simek <monstr@monstr.eu> | 2012-08-16 17:53:35 +0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-10-04 16:59:19 +0400 |
commit | fcc1c0ff2506cab8c3a019374550f68b3cbadcbe (patch) | |
tree | 5e78312ddff66318a7cd38fcaa92e48b7baaf5da /arch/microblaze/include | |
parent | c7e9a211e22782af5857d265a83abf55619f19ea (diff) | |
download | linux-fcc1c0ff2506cab8c3a019374550f68b3cbadcbe.tar.xz |
microblaze: Fix bug with passing command line
When u-boot passes control over to Linux it places the Linux command
line between to the end of __init_end. When space between
__init_end and __bss_start is not COMMAND_LINE_SIZE then
the part of cmdline can be lost.
In extreme case if __init_end == __bss_start u-boot can't pass
any cmdline to Linux kernel.
This patch fix this issue by copying cmd line directly to
cmd_line char array which is placed in data section.
Reported-by: David Mc Andrew <david.mcandrew@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
0 files changed, 0 insertions, 0 deletions