diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-01-14 11:00:41 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-02-24 12:19:42 +0100 |
commit | dcf639fe6f801f6418357ec20376b2218f666f44 (patch) | |
tree | c989bfab192e50d2e650b50a59e1af523f2fbb1a /arch/microblaze/kernel/setup.c | |
parent | Linux 5.6-rc1 (diff) | |
download | linux-dcf639fe6f801f6418357ec20376b2218f666f44.tar.xz linux-dcf639fe6f801f6418357ec20376b2218f666f44.zip |
microblaze: Kernel parameters should be parsed earlier
Kernel command line should be parsed before cma initialization to be able
to get cma sizes from command line. That's why call parse_early_param()
before dma_continugous_reserve().
Unfortunately it can't be called earlier in machine_early_init() because
if earlycon is passed in the command line the parse_early_param() attempts
an ioremap which fails as the memory params are not set yet.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/setup.c')
-rw-r--r-- | arch/microblaze/kernel/setup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index 511c1ab7f57f..a8fc15ac4291 100644 --- a/arch/microblaze/kernel/setup.c +++ b/arch/microblaze/kernel/setup.c @@ -54,7 +54,6 @@ void __init setup_arch(char **cmdline_p) *cmdline_p = boot_command_line; setup_memory(); - parse_early_param(); console_verbose(); |