ARM: tegra: remove USB address related macros from iomap.h
authorVenu Byravarasu <vbyravarasu@nvidia.com>
Mon, 17 Dec 2012 18:31:01 +0000 (18:31 +0000)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 18:20:04 +0000 (11:20 -0700)
USB register base address and sizes defined in iomap.h
are not used in any files other than board-dt-tegra20.c.
Hence removed those defines from header file and using
the absolute values in board files.

Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/board-dt-tegra20.c
arch/arm/mach-tegra/iomap.h

index 5049edf68f4f2e2e42792ed637f83bab0b263f61..63cfc430f9c7561b32fa13af9cea320be8e8c4bd 100644 (file)
@@ -70,11 +70,11 @@ static struct tegra_ehci_platform_data tegra_ehci3_pdata = {
 };
 
 static struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = {
-       OF_DEV_AUXDATA("nvidia,tegra20-ehci", TEGRA_USB_BASE, "tegra-ehci.0",
+       OF_DEV_AUXDATA("nvidia,tegra20-ehci", 0xC5000000, "tegra-ehci.0",
                       &tegra_ehci1_pdata),
-       OF_DEV_AUXDATA("nvidia,tegra20-ehci", TEGRA_USB2_BASE, "tegra-ehci.1",
+       OF_DEV_AUXDATA("nvidia,tegra20-ehci", 0xC5004000, "tegra-ehci.1",
                       &tegra_ehci2_pdata),
-       OF_DEV_AUXDATA("nvidia,tegra20-ehci", TEGRA_USB3_BASE, "tegra-ehci.2",
+       OF_DEV_AUXDATA("nvidia,tegra20-ehci", 0xC5008000, "tegra-ehci.2",
                       &tegra_ehci3_pdata),
        {}
 };
index db8be51cad8017d5197fd27cffbef5f7ec56664a..399fbca271027e6e77e4e61a02d0ceae35912571 100644 (file)
 #define TEGRA_CSITE_BASE               0x70040000
 #define TEGRA_CSITE_SIZE               SZ_256K
 
-#define TEGRA_USB_BASE                 0xC5000000
-#define TEGRA_USB_SIZE                 SZ_16K
-
-#define TEGRA_USB2_BASE                        0xC5004000
-#define TEGRA_USB2_SIZE                        SZ_16K
-
-#define TEGRA_USB3_BASE                        0xC5008000
-#define TEGRA_USB3_SIZE                        SZ_16K
-
 #define TEGRA_SDMMC1_BASE              0xC8000000
 #define TEGRA_SDMMC1_SIZE              SZ_512