armv8: fsl: Use correct conditional compile for ls1012a
authorRan Wang <ran.wang_1@nxp.com>
Mon, 28 Aug 2017 02:40:33 +0000 (10:40 +0800)
committerYork Sun <york.sun@nxp.com>
Mon, 11 Sep 2017 15:00:13 +0000 (08:00 -0700)
commit5436c6a347918bf278d4cc9e5678f9bd94bdbcbc
tree09d6670450c6c3760e891cca0bb5bc9be3a17851
parent033c538e567aca5f0876f2504b5e278c2a0f83a8
armv8: fsl: Use correct conditional compile for ls1012a

According current code base, CONFIG_LS1012A should be
CONFIG_ARCH_LS1012A, or function fsl_fdt_disable(blob) will be
wrongly called to disable all dwc3 USB nodes on LS1012A, which
cause Linux USB function stop working at all.

Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c