]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
powerpc: mpc85xx: kmp204x: Fix compiling error for usb errata
authorYork Sun <york.sun@nxp.com>
Wed, 6 Jul 2016 23:39:51 +0000 (16:39 -0700)
committerMarek Vasut <marex@denx.de>
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 <york.sun@nxp.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Ed Swarthout <Ed.Swarthout@nxp.com>
Cc: Sriram Dash <sriram.dash@nxp.com>
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