tizen 2.4 release
[kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8830 / hardware.h
1 /*
2  * Copyright (C) 2012 Spreadtrum Communications Inc.
3  * 
4  * This software is licensed under the terms of the GNU General Public
5  * License version 2, as published by the Free Software Foundation, and
6  * may be copied, distributed, and modified under those terms.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13
14 #ifndef __ASM_ARCH_SCI_HARDWARE_H
15 #define __ASM_ARCH_SCI_HARDWARE_H
16
17 #define SCI_IOMAP(x)    (SCI_IOMAP_BASE + (x))
18
19 #ifndef SCI_ADDR
20 #define SCI_ADDR(_b_, _o_)                              ( (u32)(_b_) + (_o_) )
21 #endif
22
23 #include <asm/sizes.h>
24
25 #if defined(CONFIG_SPX15)
26 #include "chip_x15/__hardware-sc8830.h"
27 #elif defined(CONFIG_SPX30G)
28         #if defined(CONFIG_SPX20)
29                 #include "chip_x20/__hardware-sc7720.h"
30         #else
31                 #include "chip_x30g/__hardware-sc8830.h"
32         #endif
33 #else
34 #include "chip_x35/__hardware-sc8830.h"
35 #endif
36
37 #endif