Skip to content
Snippets Groups Projects
Commit 5436c6a3 authored by Ran Wang's avatar Ran Wang Committed by York Sun
Browse files

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: default avatarRan Wang <ran.wang_1@nxp.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent 033c538e
No related branches found
No related tags found
No related merge requests found
...@@ -418,7 +418,7 @@ void ft_cpu_setup(void *blob, bd_t *bd) ...@@ -418,7 +418,7 @@ void ft_cpu_setup(void *blob, bd_t *bd)
#ifdef CONFIG_SYS_DPAA_FMAN #ifdef CONFIG_SYS_DPAA_FMAN
fdt_fixup_fman_firmware(blob); fdt_fixup_fman_firmware(blob);
#endif #endif
#ifndef CONFIG_LS1012A #ifndef CONFIG_ARCH_LS1012A
fsl_fdt_disable_usb(blob); fsl_fdt_disable_usb(blob);
#endif #endif
#ifdef CONFIG_HAS_FEATURE_GIC64K_ALIGN #ifdef CONFIG_HAS_FEATURE_GIC64K_ALIGN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment