2 * Copyright (C) 2012 Spreadtrum Communications Inc.
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.
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.
14 #ifndef __ASM_ARCH_SCI_HARDWARE_H
15 #define __ASM_ARCH_SCI_HARDWARE_H
17 #define SCI_IOMAP(x) (SCI_IOMAP_BASE + (x))
20 #define SCI_ADDR(_b_, _o_) ( (u32)(_b_) + (_o_) )
23 #include <asm/sizes.h>
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"
31 #include "chip_x30g/__hardware-sc8830.h"
34 #include "chip_x35/__hardware-sc8830.h"