summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 14:23:10 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-05 18:12:59 (GMT)
commit457e51cffdacf117c2afdd09d9bfc2f8df7314cb (patch)
tree8c57e8c2e3411e24bc1b827345c4a91f635128a2 /drivers/usb
parent89f5eaa1ee9a3307e05458aa4f3b2155ab0a7144 (diff)
downloadu-boot-fsl-qoriq-457e51cffdacf117c2afdd09d9bfc2f8df7314cb.tar.xz
common: arm: freescale: layerscape: Move header files out of common.h
We should not have an arch-specific header file in common.h. Adjust the board files a little so it is not needed, and drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/common/fsl-errata.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/common/fsl-errata.c b/drivers/usb/common/fsl-errata.c
index 31d80bb..4e642ae 100644
--- a/drivers/usb/common/fsl-errata.c
+++ b/drivers/usb/common/fsl-errata.c
@@ -9,7 +9,8 @@
#include <common.h>
#include <fsl_errata.h>
#include<fsl_usb.h>
-#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3)
+#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3) || \
+ defined(CONFIG_ARM)
#include <asm/arch/clock.h>
#endif