diff mbox

[U-Boot,v2] powerpc: mpc85xx: kmp204x: Fix compiling error for usb errata

Message ID 1467848391-27082-1-git-send-email-york.sun@nxp.com
State Accepted
Commit eb364c3dc28d59d33e823470d07746b22a8e6fee
Delegated to: Marek Vasut
Headers show

Commit Message

York Sun July 6, 2016, 11:39 p.m. UTC
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")
---
Change log
  v2: Rebase to u-boot-usb/master.
      Drop SPL fix.

 include/configs/km/kmp204x-common.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h
index 028623d..5bdda22 100644
--- a/include/configs/km/kmp204x-common.h
+++ b/include/configs/km/kmp204x-common.h
@@ -406,6 +406,7 @@  int get_scl(void);
 #endif
 
 #define __USB_PHY_TYPE	utmi
+#define CONFIG_USB_EHCI_FSL
 
 /*
  * Environment Configuration