powerpc: mpc85xx: kmp204x: Fix compiling error for usb errata
authorYork Sun <[email protected]>
Wed, 6 Jul 2016 23:39:51 +0000 (16:39 -0700)
committerMarek Vasut <[email protected]>
Thu, 7 Jul 2016 11:34:10 +0000 (13:34 +0200)
Commit 9262367 moves USB errata workaround into a C file. This
causes compiling error for kmcoge4 and kmlion1. To enable the
errata workaround, define CONFIG_USB_EHCI_FSL in common header.

Signed-off-by: York Sun <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Ed Swarthout <[email protected]>
Cc: Sriram Dash <[email protected]>
Fixes: 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")
include/configs/km/kmp204x-common.h

index 028623d1ee80ef7896ca45efa342d48404341bb2..5bdda2264b8a7a04e78888eb9db4792b414208fc 100644 (file)
@@ -406,6 +406,7 @@ int get_scl(void);
 #endif
 
 #define __USB_PHY_TYPE utmi
+#define CONFIG_USB_EHCI_FSL
 
 /*
  * Environment Configuration