fsl: usb: make errata function common for PPC and ARM
authorSriram Dash <sriram.dash@nxp.com>
Mon, 13 Jun 2016 04:28:34 +0000 (09:58 +0530)
committerMarek Vasut <marex@denx.de>
Mon, 13 Jun 2016 13:16:38 +0000 (15:16 +0200)
commit92623672f9d3f1b4ea12ae1e2bcc0ad9fde5d2cb
tree2cc9d70c207eb4618c968f46d23b51a700bc1216
parentbf655775f5f97122605c96c0ecd41158c1147785
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>
drivers/usb/common/Makefile
drivers/usb/common/fsl-dt-fixup.c
drivers/usb/common/fsl-errata.c [new file with mode: 0644]
include/fsl_usb.h