mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 23:24:50 +00:00
nds32: Fix the dts pointer is not passed correctly issue.
We found that the original implementation will only use the built-in dtb pointer instead of the pointer pass from bootloader. This bug is fixed by this patch. Signed-off-by: Greentime Hu <greentime@andestech.com>
This commit is contained in:
parent
f706abf188
commit
6897e6ecb3
1 changed files with 2 additions and 1 deletions
|
@ -278,7 +278,8 @@ static void __init setup_memory(void)
|
||||||
|
|
||||||
void __init setup_arch(char **cmdline_p)
|
void __init setup_arch(char **cmdline_p)
|
||||||
{
|
{
|
||||||
early_init_devtree( __dtb_start);
|
early_init_devtree(__atags_pointer ? \
|
||||||
|
phys_to_virt(__atags_pointer) : __dtb_start);
|
||||||
|
|
||||||
setup_cpuinfo();
|
setup_cpuinfo();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue