Patchwork [4/4] powerpc/mpc5121: select options for USB OTG support

login
register
mail settings
Submitter Anatolij Gustschin
Date April 27, 2010, 4:11 p.m.
Message ID <1272384698-4359-5-git-send-email-agust@denx.de>
Download mbox | patch
Permalink /patch/51092/
State Superseded
Delegated to: Grant Likely
Headers show

Comments

Anatolij Gustschin - April 27, 2010, 4:11 p.m.
USB Device Controller driver and OTG driver allow
configuration of controller register accessors.
Enable default big-endian register accessors for
Rev.2 SoC.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
---
 arch/powerpc/platforms/512x/Kconfig |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/powerpc/platforms/512x/Kconfig b/arch/powerpc/platforms/512x/Kconfig
index fed7b5d..0c42537 100644
--- a/arch/powerpc/platforms/512x/Kconfig
+++ b/arch/powerpc/platforms/512x/Kconfig
@@ -12,6 +12,14 @@  config PPC_MPC5121
 	select USB_ARCH_HAS_EHCI
 	select USB_EHCI_BIG_ENDIAN_DESC
 	select USB_EHCI_BIG_ENDIAN_MMIO
+	select USB_FSL_BIG_ENDIAN_DESC
+	select USB_FSL_BIG_ENDIAN_MMIO
+
+config USB_FSL_BIG_ENDIAN_MMIO
+	bool
+
+config USB_FSL_BIG_ENDIAN_DESC
+	bool
 
 config MPC5121_ADS
 	bool "Freescale MPC5121E ADS"