summaryrefslogtreecommitdiffstats
path: root/drivers/usb/common/fsl-dt-fixup.c
diff options
context:
space:
mode:
authorSriram Dash <sriram.dash@nxp.com>2016-06-13 09:58:34 +0530
committerMarek Vasut <marex@denx.de>2016-06-13 15:16:38 +0200
commit92623672f9d3f1b4ea12ae1e2bcc0ad9fde5d2cb (patch)
tree2cc9d70c207eb4618c968f46d23b51a700bc1216 /drivers/usb/common/fsl-dt-fixup.c
parentbf655775f5f97122605c96c0ecd41158c1147785 (diff)
downloadblackbird-obmc-uboot-92623672f9d3f1b4ea12ae1e2bcc0ad9fde5d2cb.tar.gz
blackbird-obmc-uboot-92623672f9d3f1b4ea12ae1e2bcc0ad9fde5d2cb.zip
fsl: usb: make errata function common for PPC and ARM
This patch does the following things: 1. Makes the errata checking code common for PPC and ARM 2. Moves all these static inline functions into a dedicated C file Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
Diffstat (limited to 'drivers/usb/common/fsl-dt-fixup.c')
-rw-r--r--drivers/usb/common/fsl-dt-fixup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/common/fsl-dt-fixup.c b/drivers/usb/common/fsl-dt-fixup.c
index 1523f98cbc..930ca1d35e 100644
--- a/drivers/usb/common/fsl-dt-fixup.c
+++ b/drivers/usb/common/fsl-dt-fixup.c
@@ -12,6 +12,7 @@
#include <usb.h>
#include <asm/io.h>
#include <hwconfig.h>
+#include <fsl_errata.h>
#include <fsl_usb.h>
#include <fdt_support.h>
OpenPOWER on IntegriCloud