diff options
author | Hemant Pedanekar <hemantp@ti.com> | 2011-12-13 13:46:44 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-13 13:46:44 -0500 |
commit | a920360f038e976e7a86b002e209402da20e9147 (patch) | |
tree | a48a1b7a2c7efaab8e585cafdf0268a468858cb3 /arch/arm/plat-omap/include/plat/ti81xx.h | |
parent | ec023e46f7e86acb04fef5bdd1e9465f5fc39894 (diff) |
ARM: OMAP: TI81XX: Prepare for addition of TI814X support
This patch updates existing macros, functions used for TI816X, to enable
addition of other SoCs belonging to TI81XX family (e.g., TI814X).
The approach taken is to use TI81XX/ti81xx for code/data going to be common
across all TI81XX devices.
cpu_is_ti81xx() is introduced to handle code common across TI81XX devices.
In addition, ti8168_evm_map_io() is now replaced with ti81xx_map_io() and moved
in mach-omap2/common.c as same will be used for TI814X and is not board
specific.
Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/ti81xx.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/ti81xx.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/ti81xx.h b/arch/arm/plat-omap/include/plat/ti81xx.h new file mode 100644 index 000000000000..8f9843f78422 --- /dev/null +++ b/arch/arm/plat-omap/include/plat/ti81xx.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * This file contains the address data for various TI81XX modules. | ||
3 | * | ||
4 | * Copyright (C) 2010 Texas Instruments, Inc. - http://www.ti.com/ | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License as | ||
8 | * published by the Free Software Foundation version 2. | ||
9 | * | ||
10 | * This program is distributed "as is" WITHOUT ANY WARRANTY of any | ||
11 | * kind, whether express or implied; without even the implied warranty | ||
12 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | */ | ||
15 | |||
16 | #ifndef __ASM_ARCH_TI81XX_H | ||
17 | #define __ASM_ARCH_TI81XX_H | ||
18 | |||
19 | #define L4_SLOW_TI81XX_BASE 0x48000000 | ||
20 | |||
21 | #define TI81XX_SCM_BASE 0x48140000 | ||
22 | #define TI81XX_CTRL_BASE TI81XX_SCM_BASE | ||
23 | #define TI81XX_PRCM_BASE 0x48180000 | ||
24 | |||
25 | #define TI81XX_ARM_INTC_BASE 0x48200000 | ||
26 | |||
27 | #endif /* __ASM_ARCH_TI81XX_H */ | ||