nds32: Fix the dts pointer is not passed correctly issue.
authorGreentime Hu <greentime@andestech.com>
Thu, 28 Jun 2018 10:29:21 +0000 (18:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:06:56 +0000 (13:06 +0200)
commitd50a5781992f7c55e38ff0df19a1094d61b00bb7
tree2c530cc1f7cae6824f79949def3f7915c34782dc
parent376fb2a02597c8ec64a5b0ef3402c8d5c3822249
nds32: Fix the dts pointer is not passed correctly issue.

[ Upstream commit 6897e6ecb3167598cb45e1a1424dd4d5e3778837 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/nds32/kernel/setup.c