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

York Sun york.sun at nxp.com
Thu Jul 7 01:39:51 CEST 2016


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 at nxp.com>
Cc: Marek Vasut <marex at denx.de>
Cc: Ed Swarthout <Ed.Swarthout at nxp.com>
Cc: Sriram Dash <sriram.dash at 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 --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
-- 
2.7.4



More information about the U-Boot mailing list