diff options
author | Manjunath Hadli <manjunath.hadli@ti.com> | 2011-12-15 17:41:51 +0530 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2012-01-20 21:57:27 +0530 |
commit | 887b8a9345ae3f23527ca830a326f0b339119c25 (patch) | |
tree | ed1864fa648d42e197cc6df13154eccb955cf111 /arch/arm/mach-davinci/dm644x.c | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) | |
download | linux-887b8a9345ae3f23527ca830a326f0b339119c25.tar.gz linux-887b8a9345ae3f23527ca830a326f0b339119c25.tar.bz2 linux-887b8a9345ae3f23527ca830a326f0b339119c25.zip |
ARM: davinci: dm644x: move private definitions to C file
Move register base addresses and offsets used only by dm644x.c
from arch/arm/mach-davinci/include/mach/dm644x.h to the C file
as these definitions are used only there.
This helps reduce code in arch/arm/mach-davinci/include/mach
which is not really needed by rest of the kernel.
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/dm644x.c')
-rw-r--r-- | arch/arm/mach-davinci/dm644x.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c index 43a48ee1917b..7da3d77e398c 100644 --- a/arch/arm/mach-davinci/dm644x.c +++ b/arch/arm/mach-davinci/dm644x.c @@ -35,6 +35,13 @@ */ #define DM644X_REF_FREQ 27000000 +#define DM644X_EMAC_BASE 0x01c80000 +#define DM644X_EMAC_MDIO_BASE (DM644X_EMAC_BASE + 0x4000) +#define DM644X_EMAC_CNTRL_OFFSET 0x0000 +#define DM644X_EMAC_CNTRL_MOD_OFFSET 0x1000 +#define DM644X_EMAC_CNTRL_RAM_OFFSET 0x2000 +#define DM644X_EMAC_CNTRL_RAM_SIZE 0x2000 + static struct pll_data pll1_data = { .num = 1, .phys_base = DAVINCI_PLL1_BASE, |