mxs: Squash the header file usage in ehci-mxs
authorMarek Vasut <marex@denx.de>
Sat, 23 Feb 2013 02:43:01 +0000 (02:43 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Mar 2013 16:22:57 +0000 (17:22 +0100)
The ehci-mxs driver included the register definitions directly.
Use imx-regs.h instead since it contains proper handling of the
differences between mx23 and mx28.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
arch/arm/include/asm/arch-mxs/imx-regs.h
drivers/usb/host/ehci-mxs.c

index 05eb63c6d2eba2617e226b80cc94db750bb7e04b..8f6749776004c8ddf5eaea9b003056fb23c7d4f4 100644 (file)
@@ -36,6 +36,8 @@
 #include <asm/arch/regs-rtc.h>
 #include <asm/arch/regs-ssp.h>
 #include <asm/arch/regs-timrot.h>
+#include <asm/arch/regs-usb.h>
+#include <asm/arch/regs-usbphy.h>
 
 #ifdef CONFIG_MX23
 #include <asm/arch/regs-clkctrl-mx23.h>
index 5062af555932dc76e20c9867d9ff73860f47b006..0ca7545a349dc50bb1bcf9cc29f4af9cd680e8ae 100644 (file)
 
 #include <common.h>
 #include <asm/io.h>
-#include <asm/arch/regs-common.h>
-#include <asm/arch/regs-base.h>
-#include <asm/arch/regs-clkctrl-mx28.h>
-#include <asm/arch/regs-usb.h>
-#include <asm/arch/regs-usbphy.h>
+#include <asm/arch/imx-regs.h>
 
 #include "ehci.h"