Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
8460dc7f
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
170
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
8460dc7f
编写于
3月 21, 2014
作者:
K
Kukjin Kim
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'v3.15-next/cleanup-samsung-2' into v3.15-next/s2r-pm-samsung-2
上级
e11d919e
19a96464
变更
95
隐藏空白更改
内联
并排
Showing
95 changed file
with
89 addition
and
609 deletion
+89
-609
arch/arm/Kconfig.debug
arch/arm/Kconfig.debug
+3
-2
arch/arm/include/debug/samsung.S
arch/arm/include/debug/samsung.S
+1
-1
arch/arm/mach-exynos/common.c
arch/arm/mach-exynos/common.c
+1
-1
arch/arm/mach-exynos/include/mach/uncompress.h
arch/arm/mach-exynos/include/mach/uncompress.h
+0
-48
arch/arm/mach-exynos/pm_domains.c
arch/arm/mach-exynos/pm_domains.c
+0
-2
arch/arm/mach-s3c24xx/Kconfig
arch/arm/mach-s3c24xx/Kconfig
+0
-2
arch/arm/mach-s3c24xx/clock-s3c2410.c
arch/arm/mach-s3c24xx/clock-s3c2410.c
+1
-2
arch/arm/mach-s3c24xx/clock-s3c2412.c
arch/arm/mach-s3c24xx/clock-s3c2412.c
+1
-2
arch/arm/mach-s3c24xx/clock-s3c2440.c
arch/arm/mach-s3c24xx/clock-s3c2440.c
+1
-1
arch/arm/mach-s3c24xx/common.c
arch/arm/mach-s3c24xx/common.c
+1
-2
arch/arm/mach-s3c24xx/dma-s3c2410.c
arch/arm/mach-s3c24xx/dma-s3c2410.c
+1
-1
arch/arm/mach-s3c24xx/dma-s3c2412.c
arch/arm/mach-s3c24xx/dma-s3c2412.c
+1
-1
arch/arm/mach-s3c24xx/dma-s3c2440.c
arch/arm/mach-s3c24xx/dma-s3c2440.c
+1
-1
arch/arm/mach-s3c24xx/dma-s3c2443.c
arch/arm/mach-s3c24xx/dma-s3c2443.c
+1
-1
arch/arm/mach-s3c24xx/include/mach/debug-macro.S
arch/arm/mach-s3c24xx/include/mach/debug-macro.S
+1
-1
arch/arm/mach-s3c24xx/include/mach/rtc-core.h
arch/arm/mach-s3c24xx/include/mach/rtc-core.h
+6
-7
arch/arm/mach-s3c24xx/include/mach/tick.h
arch/arm/mach-s3c24xx/include/mach/tick.h
+0
-15
arch/arm/mach-s3c24xx/include/mach/uncompress.h
arch/arm/mach-s3c24xx/include/mach/uncompress.h
+0
-57
arch/arm/mach-s3c24xx/mach-amlm5900.c
arch/arm/mach-s3c24xx/mach-amlm5900.c
+1
-1
arch/arm/mach-s3c24xx/mach-anubis.c
arch/arm/mach-s3c24xx/mach-anubis.c
+1
-1
arch/arm/mach-s3c24xx/mach-at2440evb.c
arch/arm/mach-s3c24xx/mach-at2440evb.c
+1
-1
arch/arm/mach-s3c24xx/mach-bast.c
arch/arm/mach-s3c24xx/mach-bast.c
+1
-1
arch/arm/mach-s3c24xx/mach-gta02.c
arch/arm/mach-s3c24xx/mach-gta02.c
+1
-1
arch/arm/mach-s3c24xx/mach-h1940.c
arch/arm/mach-s3c24xx/mach-h1940.c
+1
-1
arch/arm/mach-s3c24xx/mach-jive.c
arch/arm/mach-s3c24xx/mach-jive.c
+1
-1
arch/arm/mach-s3c24xx/mach-mini2440.c
arch/arm/mach-s3c24xx/mach-mini2440.c
+1
-1
arch/arm/mach-s3c24xx/mach-n30.c
arch/arm/mach-s3c24xx/mach-n30.c
+1
-1
arch/arm/mach-s3c24xx/mach-nexcoder.c
arch/arm/mach-s3c24xx/mach-nexcoder.c
+1
-1
arch/arm/mach-s3c24xx/mach-osiris.c
arch/arm/mach-s3c24xx/mach-osiris.c
+1
-1
arch/arm/mach-s3c24xx/mach-otom.c
arch/arm/mach-s3c24xx/mach-otom.c
+1
-1
arch/arm/mach-s3c24xx/mach-qt2410.c
arch/arm/mach-s3c24xx/mach-qt2410.c
+1
-1
arch/arm/mach-s3c24xx/mach-rx1950.c
arch/arm/mach-s3c24xx/mach-rx1950.c
+1
-1
arch/arm/mach-s3c24xx/mach-rx3715.c
arch/arm/mach-s3c24xx/mach-rx3715.c
+1
-1
arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
+1
-1
arch/arm/mach-s3c24xx/mach-smdk2410.c
arch/arm/mach-s3c24xx/mach-smdk2410.c
+1
-1
arch/arm/mach-s3c24xx/mach-smdk2413.c
arch/arm/mach-s3c24xx/mach-smdk2413.c
+1
-1
arch/arm/mach-s3c24xx/mach-smdk2416.c
arch/arm/mach-s3c24xx/mach-smdk2416.c
+1
-1
arch/arm/mach-s3c24xx/mach-smdk2440.c
arch/arm/mach-s3c24xx/mach-smdk2440.c
+1
-1
arch/arm/mach-s3c24xx/mach-smdk2443.c
arch/arm/mach-s3c24xx/mach-smdk2443.c
+1
-1
arch/arm/mach-s3c24xx/mach-tct_hammer.c
arch/arm/mach-s3c24xx/mach-tct_hammer.c
+1
-1
arch/arm/mach-s3c24xx/mach-vr1000.c
arch/arm/mach-s3c24xx/mach-vr1000.c
+1
-1
arch/arm/mach-s3c24xx/mach-vstms.c
arch/arm/mach-s3c24xx/mach-vstms.c
+1
-1
arch/arm/mach-s3c24xx/pm.c
arch/arm/mach-s3c24xx/pm.c
+1
-1
arch/arm/mach-s3c24xx/s3c2410.c
arch/arm/mach-s3c24xx/s3c2410.c
+1
-1
arch/arm/mach-s3c24xx/s3c2412.c
arch/arm/mach-s3c24xx/s3c2412.c
+1
-1
arch/arm/mach-s3c24xx/s3c2416.c
arch/arm/mach-s3c24xx/s3c2416.c
+1
-1
arch/arm/mach-s3c24xx/s3c2443.c
arch/arm/mach-s3c24xx/s3c2443.c
+1
-1
arch/arm/mach-s3c24xx/s3c244x.c
arch/arm/mach-s3c24xx/s3c244x.c
+1
-1
arch/arm/mach-s3c24xx/sleep-s3c2410.S
arch/arm/mach-s3c24xx/sleep-s3c2410.S
+1
-1
arch/arm/mach-s3c24xx/sleep.S
arch/arm/mach-s3c24xx/sleep.S
+1
-1
arch/arm/mach-s3c64xx/common.c
arch/arm/mach-s3c64xx/common.c
+1
-1
arch/arm/mach-s3c64xx/include/mach/debug-macro.S
arch/arm/mach-s3c64xx/include/mach/debug-macro.S
+1
-1
arch/arm/mach-s3c64xx/include/mach/tick.h
arch/arm/mach-s3c64xx/include/mach/tick.h
+0
-31
arch/arm/mach-s3c64xx/include/mach/uncompress.h
arch/arm/mach-s3c64xx/include/mach/uncompress.h
+0
-31
arch/arm/mach-s3c64xx/irq-pm.c
arch/arm/mach-s3c64xx/irq-pm.c
+1
-1
arch/arm/mach-s3c64xx/mach-anw6410.c
arch/arm/mach-s3c64xx/mach-anw6410.c
+1
-1
arch/arm/mach-s3c64xx/mach-crag6410.c
arch/arm/mach-s3c64xx/mach-crag6410.c
+1
-1
arch/arm/mach-s3c64xx/mach-hmt.c
arch/arm/mach-s3c64xx/mach-hmt.c
+1
-1
arch/arm/mach-s3c64xx/mach-mini6410.c
arch/arm/mach-s3c64xx/mach-mini6410.c
+1
-1
arch/arm/mach-s3c64xx/mach-ncp.c
arch/arm/mach-s3c64xx/mach-ncp.c
+1
-1
arch/arm/mach-s3c64xx/mach-real6410.c
arch/arm/mach-s3c64xx/mach-real6410.c
+1
-1
arch/arm/mach-s3c64xx/mach-smartq.c
arch/arm/mach-s3c64xx/mach-smartq.c
+1
-1
arch/arm/mach-s3c64xx/mach-smdk6400.c
arch/arm/mach-s3c64xx/mach-smdk6400.c
+1
-2
arch/arm/mach-s3c64xx/mach-smdk6410.c
arch/arm/mach-s3c64xx/mach-smdk6410.c
+1
-1
arch/arm/mach-s3c64xx/s3c6400.c
arch/arm/mach-s3c64xx/s3c6400.c
+1
-1
arch/arm/mach-s3c64xx/s3c6410.c
arch/arm/mach-s3c64xx/s3c6410.c
+1
-1
arch/arm/mach-s5p64x0/common.c
arch/arm/mach-s5p64x0/common.c
+1
-1
arch/arm/mach-s5p64x0/include/mach/debug-macro.S
arch/arm/mach-s5p64x0/include/mach/debug-macro.S
+1
-2
arch/arm/mach-s5p64x0/include/mach/uncompress.h
arch/arm/mach-s5p64x0/include/mach/uncompress.h
+0
-34
arch/arm/mach-s5p64x0/irq-pm.c
arch/arm/mach-s5p64x0/irq-pm.c
+1
-1
arch/arm/mach-s5p64x0/mach-smdk6440.c
arch/arm/mach-s5p64x0/mach-smdk6440.c
+1
-1
arch/arm/mach-s5p64x0/mach-smdk6450.c
arch/arm/mach-s5p64x0/mach-smdk6450.c
+1
-1
arch/arm/mach-s5pc100/common.c
arch/arm/mach-s5pc100/common.c
+1
-1
arch/arm/mach-s5pc100/include/mach/debug-macro.S
arch/arm/mach-s5pc100/include/mach/debug-macro.S
+1
-1
arch/arm/mach-s5pc100/include/mach/tick.h
arch/arm/mach-s5pc100/include/mach/tick.h
+0
-31
arch/arm/mach-s5pc100/include/mach/uncompress.h
arch/arm/mach-s5pc100/include/mach/uncompress.h
+0
-30
arch/arm/mach-s5pc100/mach-smdkc100.c
arch/arm/mach-s5pc100/mach-smdkc100.c
+1
-1
arch/arm/mach-s5pv210/common.c
arch/arm/mach-s5pv210/common.c
+1
-1
arch/arm/mach-s5pv210/include/mach/debug-macro.S
arch/arm/mach-s5pv210/include/mach/debug-macro.S
+1
-1
arch/arm/mach-s5pv210/include/mach/uncompress.h
arch/arm/mach-s5pv210/include/mach/uncompress.h
+0
-28
arch/arm/mach-s5pv210/mach-aquila.c
arch/arm/mach-s5pv210/mach-aquila.c
+1
-1
arch/arm/mach-s5pv210/mach-goni.c
arch/arm/mach-s5pv210/mach-goni.c
+1
-1
arch/arm/mach-s5pv210/mach-smdkc110.c
arch/arm/mach-s5pv210/mach-smdkc110.c
+1
-1
arch/arm/mach-s5pv210/mach-smdkv210.c
arch/arm/mach-s5pv210/mach-smdkv210.c
+1
-1
arch/arm/mach-s5pv210/mach-torbreck.c
arch/arm/mach-s5pv210/mach-torbreck.c
+1
-1
arch/arm/plat-samsung/clock.c
arch/arm/plat-samsung/clock.c
+1
-1
arch/arm/plat-samsung/cpu.c
arch/arm/plat-samsung/cpu.c
+0
-7
arch/arm/plat-samsung/devs.c
arch/arm/plat-samsung/devs.c
+3
-9
arch/arm/plat-samsung/include/plat/cpu.h
arch/arm/plat-samsung/include/plat/cpu.h
+0
-1
arch/arm/plat-samsung/include/plat/regs-serial.h
arch/arm/plat-samsung/include/plat/regs-serial.h
+0
-1
arch/arm/plat-samsung/include/plat/uncompress.h
arch/arm/plat-samsung/include/plat/uncompress.h
+0
-175
arch/arm/plat-samsung/init.c
arch/arm/plat-samsung/init.c
+1
-2
arch/arm/plat-samsung/pm-gpio.c
arch/arm/plat-samsung/pm-gpio.c
+2
-3
arch/arm/plat-samsung/pm.c
arch/arm/plat-samsung/pm.c
+1
-2
arch/arm/plat-samsung/s5p-irq-pm.c
arch/arm/plat-samsung/s5p-irq-pm.c
+0
-13
未找到文件。
arch/arm/Kconfig.debug
浏览文件 @
8460dc7f
...
...
@@ -1145,7 +1145,7 @@ config DEBUG_UART_8250_FLOW_CONTROL
config DEBUG_UNCOMPRESS
bool
depends on ARCH_MULTIPLATFORM || ARCH_MSM
depends on ARCH_MULTIPLATFORM || ARCH_MSM
|| PLAT_SAMSUNG
default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
(!DEBUG_TEGRA_UART || !ZBOOT_ROM)
help
...
...
@@ -1161,7 +1161,8 @@ config DEBUG_UNCOMPRESS
config UNCOMPRESS_INCLUDE
string
default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM
default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \
PLAT_SAMSUNG
default "mach/uncompress.h"
config EARLY_PRINTK
...
...
arch/arm/include/debug/samsung.S
浏览文件 @
8460dc7f
...
...
@@ -9,7 +9,7 @@
*
published
by
the
Free
Software
Foundation
.
*/
#include <
plat/regs-serial
.h>
#include <
linux/serial_s3c
.h>
/*
The
S5PV210
/
S5PC110
implementations
are
as
belows
.
*/
...
...
arch/arm/mach-exynos/common.c
浏览文件 @
8460dc7f
...
...
@@ -20,6 +20,7 @@
#include <clocksource/samsung_pwm.h>
#include <linux/sched.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/of.h>
#include <linux/of_fdt.h>
#include <linux/of_irq.h>
...
...
@@ -40,7 +41,6 @@
#include <plat/cpu.h>
#include <plat/pm.h>
#include <plat/regs-serial.h>
#include "common.h"
#include "regs-pmu.h"
...
...
arch/arm/mach-exynos/include/mach/uncompress.h
已删除
100644 → 0
浏览文件 @
e11d919e
/*
* Copyright (c) 2010-2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* EXYNOS - uncompress code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H __FILE__
#include <asm/mach-types.h>
#include <mach/map.h>
#include <plat/uncompress.h>
static
unsigned
int
__raw_readl
(
unsigned
int
ptr
)
{
return
*
((
volatile
unsigned
int
*
)
ptr
);
}
static
void
arch_detect_cpu
(
void
)
{
u32
chip_id
=
__raw_readl
(
EXYNOS_PA_CHIPID
);
/*
* product_id is bits 31:12
* bits 23:20 describe the exynosX family
* bits 27:24 describe the exynosX family in exynos5420
*/
chip_id
>>=
20
;
if
((
chip_id
&
0x0f
)
==
0x5
||
(
chip_id
&
0xf0
)
==
0x50
)
uart_base
=
(
volatile
u8
*
)
EXYNOS5_PA_UART
+
(
S3C_UART_OFFSET
*
CONFIG_S3C_LOWLEVEL_UART_PORT
);
else
uart_base
=
(
volatile
u8
*
)
EXYNOS4_PA_UART
+
(
S3C_UART_OFFSET
*
CONFIG_S3C_LOWLEVEL_UART_PORT
);
/*
* For preventing FIFO overrun or infinite loop of UART console,
* fifo_max should be the minimum fifo size of all of the UART channels
*/
fifo_mask
=
S5PV210_UFSTAT_TXMASK
;
fifo_max
=
15
<<
S5PV210_UFSTAT_TXSHIFT
;
}
#endif
/* __ASM_ARCH_UNCOMPRESS_H */
arch/arm/mach-exynos/pm_domains.c
浏览文件 @
8460dc7f
...
...
@@ -22,8 +22,6 @@
#include <linux/of_platform.h>
#include <linux/sched.h>
#include <plat/devs.h>
#include "regs-pmu.h"
/*
...
...
arch/arm/mach-s3c24xx/Kconfig
浏览文件 @
8460dc7f
...
...
@@ -521,7 +521,6 @@ config MACH_ANUBIS
select HAVE_PATA_PLATFORM
select S3C2440_XTAL_12000000
select S3C24XX_DCLK
select S3C24XX_GPIO_EXTRA64
select S3C24XX_SIMTEC_PM if PM
select S3C_DEV_USB_HOST
help
...
...
@@ -562,7 +561,6 @@ config MACH_OSIRIS
select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
select S3C2440_XTAL_12000000
select S3C24XX_DCLK
select S3C24XX_GPIO_EXTRA128
select S3C24XX_SIMTEC_PM if PM
select S3C_DEV_NAND
select S3C_DEV_USB_HOST
...
...
arch/arm/mach-s3c24xx/clock-s3c2410.c
浏览文件 @
8460dc7f
...
...
@@ -30,13 +30,12 @@
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <asm/mach/map.h>
#include <mach/hardware.h>
#include <plat/regs-serial.h>
#include <mach/regs-clock.h>
#include <mach/regs-gpio.h>
...
...
arch/arm/mach-s3c24xx/clock-s3c2412.c
浏览文件 @
8460dc7f
...
...
@@ -31,13 +31,12 @@
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <asm/mach/map.h>
#include <mach/hardware.h>
#include <plat/regs-serial.h>
#include <mach/regs-clock.h>
#include <mach/regs-gpio.h>
...
...
arch/arm/mach-s3c24xx/clock-s3c2440.c
浏览文件 @
8460dc7f
...
...
@@ -34,6 +34,7 @@
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <mach/hardware.h>
#include <linux/atomic.h>
...
...
@@ -43,7 +44,6 @@
#include <plat/clock.h>
#include <plat/cpu.h>
#include <plat/regs-serial.h>
/* S3C2440 extended clock support */
...
...
arch/arm/mach-s3c24xx/common.c
浏览文件 @
8460dc7f
...
...
@@ -27,6 +27,7 @@
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <clocksource/samsung_pwm.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
...
...
@@ -44,7 +45,6 @@
#include <asm/mach/map.h>
#include <mach/regs-gpio.h>
#include <plat/regs-serial.h>
#include <mach/dma.h>
#include <plat/cpu.h>
...
...
@@ -240,7 +240,6 @@ void __init s3c24xx_init_io(struct map_desc *mach_desc, int size)
}
else
{
samsung_cpu_id
=
s3c24xx_read_idcode_v4
();
}
s3c24xx_init_cpu
();
s3c_init_cpu
(
samsung_cpu_id
,
cpu_ids
,
ARRAY_SIZE
(
cpu_ids
));
...
...
arch/arm/mach-s3c24xx/dma-s3c2410.c
浏览文件 @
8460dc7f
...
...
@@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <mach/map.h>
#include <mach/dma.h>
...
...
@@ -23,7 +24,6 @@
#include <plat/cpu.h>
#include <plat/dma-s3c24xx.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/regs-dma.h>
#include <mach/regs-lcd.h>
...
...
arch/arm/mach-s3c24xx/dma-s3c2412.c
浏览文件 @
8460dc7f
...
...
@@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <mach/dma.h>
...
...
@@ -23,7 +24,6 @@
#include <plat/dma-s3c24xx.h>
#include <plat/cpu.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/regs-dma.h>
#include <mach/regs-lcd.h>
...
...
arch/arm/mach-s3c24xx/dma-s3c2440.c
浏览文件 @
8460dc7f
...
...
@@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <mach/map.h>
#include <mach/dma.h>
...
...
@@ -23,7 +24,6 @@
#include <plat/dma-s3c24xx.h>
#include <plat/cpu.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/regs-dma.h>
#include <mach/regs-lcd.h>
...
...
arch/arm/mach-s3c24xx/dma-s3c2443.c
浏览文件 @
8460dc7f
...
...
@@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <mach/dma.h>
...
...
@@ -23,7 +24,6 @@
#include <plat/dma-s3c24xx.h>
#include <plat/cpu.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/regs-dma.h>
#include <mach/regs-lcd.h>
...
...
arch/arm/mach-s3c24xx/include/mach/debug-macro.S
浏览文件 @
8460dc7f
...
...
@@ -14,7 +14,7 @@
#include <mach/map.h>
#include <mach/regs-gpio.h>
#include <
plat/regs-serial
.h>
#include <
linux/serial_s3c
.h>
#define S3C2410_UART1_OFF (0x4000)
#define SHIFT_2440TXF (14-9)
...
...
arch/arm/
plat-samsung/include/plat
/rtc-core.h
→
arch/arm/
mach-s3c24xx/include/mach
/rtc-core.h
浏览文件 @
8460dc7f
/* linux/arch/arm/plat-samsung/include/plat/rtc-core.h
*
/*
* Copyright (c) 2011 Heiko Stuebner <heiko@sntech.de>
*
* Samsung RTC Controller core functions
...
...
@@ -9,19 +8,19 @@
* published by the Free Software Foundation.
*/
#ifndef __
ASM_PLAT_
RTC_CORE_H
#define __
ASM_PLAT_
RTC_CORE_H __FILE__
#ifndef __RTC_CORE_H
#define __RTC_CORE_H __FILE__
/* These functions are only for use with the core support code, such as
* the cpu specific initialisation code
*/
extern
struct
platform_device
s3c_device_rtc
;
/* re-define device name depending on support. */
static
inline
void
s3c_rtc_setname
(
char
*
name
)
{
#if defined(CONFIG_S3C_DEV_RTC) || defined(CONFIG_PLAT_S3C24XX)
s3c_device_rtc
.
name
=
name
;
#endif
}
#endif
/* __
ASM_PLAT_
RTC_CORE_H */
#endif
/* __RTC_CORE_H */
arch/arm/mach-s3c24xx/include/mach/tick.h
已删除
100644 → 0
浏览文件 @
e11d919e
/* linux/arch/arm/mach-s3c2410/include/mach/tick.h
*
* Copyright 2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
* http://armlinux.simtec.co.uk/
*
* S3C2410 - timer tick support
*/
#define SRCPND_TIMER4 (1<<(IRQ_TIMER4 - IRQ_EINT0))
static
inline
int
s3c24xx_ostimer_pending
(
void
)
{
return
__raw_readl
(
S3C2410_SRCPND
)
&
SRCPND_TIMER4
;
}
arch/arm/mach-s3c24xx/include/mach/uncompress.h
已删除
100644 → 0
浏览文件 @
e11d919e
/* arch/arm/mach-s3c2410/include/mach/uncompress.h
*
* Copyright (c) 2003-2007 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*
* S3C2410 - uncompress code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H
#include <mach/regs-gpio.h>
#include <mach/map.h>
/* working in physical space... */
#undef S3C2410_GPIOREG
#define S3C2410_GPIOREG(x) ((S3C24XX_PA_GPIO + (x)))
#include <plat/uncompress.h>
static
inline
int
is_arm926
(
void
)
{
unsigned
int
cpuid
;
asm
volatile
(
"mrc p15, 0, %0, c1, c0, 0"
:
"=r"
(
cpuid
));
return
((
cpuid
&
0xff0
)
==
0x260
);
}
static
void
arch_detect_cpu
(
void
)
{
unsigned
int
cpuid
;
cpuid
=
*
((
volatile
unsigned
int
*
)
S3C2410_GSTATUS1
);
cpuid
&=
S3C2410_GSTATUS1_IDMASK
;
if
(
is_arm926
()
||
cpuid
==
S3C2410_GSTATUS1_2440
||
cpuid
==
S3C2410_GSTATUS1_2442
||
cpuid
==
S3C2410_GSTATUS1_2416
||
cpuid
==
S3C2410_GSTATUS1_2450
)
{
fifo_mask
=
S3C2440_UFSTAT_TXMASK
;
fifo_max
=
63
<<
S3C2440_UFSTAT_TXSHIFT
;
}
else
{
fifo_mask
=
S3C2410_UFSTAT_TXMASK
;
fifo_max
=
15
<<
S3C2410_UFSTAT_TXSHIFT
;
}
uart_base
=
(
volatile
u8
*
)
S3C_PA_UART
+
(
S3C_UART_OFFSET
*
CONFIG_S3C_LOWLEVEL_UART_PORT
);
}
#endif
/* __ASM_ARCH_UNCOMPRESS_H */
arch/arm/mach-s3c24xx/mach-amlm5900.c
浏览文件 @
8460dc7f
...
...
@@ -37,6 +37,7 @@
#include <linux/platform_device.h>
#include <linux/proc_fs.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <asm/mach/arch.h>
...
...
@@ -49,7 +50,6 @@
#include <asm/mach-types.h>
#include <mach/fb.h>
#include <plat/regs-serial.h>
#include <mach/regs-lcd.h>
#include <mach/regs-gpio.h>
#include <mach/gpio-samsung.h>
...
...
arch/arm/mach-s3c24xx/mach-anubis.c
浏览文件 @
8460dc7f
...
...
@@ -17,6 +17,7 @@
#include <linux/init.h>
#include <linux/gpio.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/i2c.h>
...
...
@@ -32,7 +33,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>
#include <mach/gpio-samsung.h>
...
...
arch/arm/mach-s3c24xx/mach-at2440evb.c
浏览文件 @
8460dc7f
...
...
@@ -21,6 +21,7 @@
#include <linux/init.h>
#include <linux/io.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/dm9000.h>
#include <linux/platform_device.h>
...
...
@@ -33,7 +34,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>
#include <mach/gpio-samsung.h>
...
...
arch/arm/mach-s3c24xx/mach-bast.c
浏览文件 @
8460dc7f
...
...
@@ -19,6 +19,7 @@
#include <linux/gpio.h>
#include <linux/syscore_ops.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/dm9000.h>
#include <linux/ata_platform.h>
...
...
@@ -55,7 +56,6 @@
#include <plat/cpu-freq.h>
#include <plat/devs.h>
#include <plat/gpio-cfg.h>
#include <plat/regs-serial.h>
#include <plat/samsung-time.h>
#include "bast.h"
...
...
arch/arm/mach-s3c24xx/mach-gta02.c
浏览文件 @
8460dc7f
...
...
@@ -35,6 +35,7 @@
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/input.h>
#include <linux/io.h>
#include <linux/i2c.h>
...
...
@@ -81,7 +82,6 @@
#include <plat/devs.h>
#include <plat/gpio-cfg.h>
#include <plat/pm.h>
#include <plat/regs-serial.h>
#include <plat/samsung-time.h>
#include "common.h"
...
...
arch/arm/mach-s3c24xx/mach-h1940.c
浏览文件 @
8460dc7f
...
...
@@ -19,6 +19,7 @@
#include <linux/init.h>
#include <linux/device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/gpio.h>
...
...
@@ -62,7 +63,6 @@
#include <plat/gpio-cfg.h>
#include <plat/pll.h>
#include <plat/pm.h>
#include <plat/regs-serial.h>
#include <plat/samsung-time.h>
#include "common.h"
...
...
arch/arm/mach-s3c24xx/mach-jive.c
浏览文件 @
8460dc7f
...
...
@@ -19,6 +19,7 @@
#include <linux/gpio.h>
#include <linux/syscore_ops.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
...
...
@@ -31,7 +32,6 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <plat/regs-serial.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>
...
...
arch/arm/mach-s3c24xx/mach-mini2440.c
浏览文件 @
8460dc7f
...
...
@@ -23,6 +23,7 @@
#include <linux/input.h>
#include <linux/io.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/dm9000.h>
#include <linux/platform_data/at24.h>
#include <linux/platform_device.h>
...
...
@@ -37,7 +38,6 @@
#include <mach/fb.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <linux/platform_data/leds-s3c24xx.h>
#include <mach/regs-lcd.h>
...
...
arch/arm/mach-s3c24xx/mach-n30.c
浏览文件 @
8460dc7f
...
...
@@ -24,6 +24,7 @@
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/timer.h>
#include <linux/io.h>
#include <linux/mmc/host.h>
...
...
@@ -43,7 +44,6 @@
#include <asm/mach/map.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/regs-serial.h>
#include <plat/clock.h>
#include <plat/cpu.h>
...
...
arch/arm/mach-s3c24xx/mach-nexcoder.c
浏览文件 @
8460dc7f
...
...
@@ -21,6 +21,7 @@
#include <linux/gpio.h>
#include <linux/string.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
...
...
@@ -38,7 +39,6 @@
//#include <asm/debug-ll.h>
#include <mach/regs-gpio.h>
#include <mach/gpio-samsung.h>
#include <plat/regs-serial.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>
...
...
arch/arm/mach-s3c24xx/mach-osiris.c
浏览文件 @
8460dc7f
...
...
@@ -18,6 +18,7 @@
#include <linux/device.h>
#include <linux/syscore_ops.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/clk.h>
#include <linux/i2c.h>
#include <linux/io.h>
...
...
@@ -44,7 +45,6 @@
#include <plat/cpu-freq.h>
#include <plat/devs.h>
#include <plat/gpio-cfg.h>
#include <plat/regs-serial.h>
#include <plat/samsung-time.h>
#include <mach/hardware.h>
...
...
arch/arm/mach-s3c24xx/mach-otom.c
浏览文件 @
8460dc7f
...
...
@@ -15,6 +15,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
...
...
@@ -32,7 +33,6 @@
#include <plat/clock.h>
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/regs-serial.h>
#include <plat/samsung-time.h>
#include "common.h"
...
...
arch/arm/mach-s3c24xx/mach-qt2410.c
浏览文件 @
8460dc7f
...
...
@@ -31,6 +31,7 @@
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/spi/spi.h>
#include <linux/spi/spi_gpio.h>
#include <linux/io.h>
...
...
@@ -49,7 +50,6 @@
#include <linux/platform_data/leds-s3c24xx.h>
#include <mach/regs-lcd.h>
#include <plat/regs-serial.h>
#include <mach/fb.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/usb-s3c2410_udc.h>
...
...
arch/arm/mach-s3c24xx/mach-rx1950.c
浏览文件 @
8460dc7f
...
...
@@ -21,6 +21,7 @@
#include <linux/gpio.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/input.h>
#include <linux/gpio_keys.h>
#include <linux/device.h>
...
...
@@ -57,7 +58,6 @@
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/pm.h>
#include <plat/regs-serial.h>
#include <plat/samsung-time.h>
#include <plat/gpio-cfg.h>
...
...
arch/arm/mach-s3c24xx/mach-rx3715.c
浏览文件 @
8460dc7f
...
...
@@ -23,6 +23,7 @@
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/serial.h>
#include <linux/io.h>
#include <linux/mtd/mtd.h>
...
...
@@ -49,7 +50,6 @@
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/pm.h>
#include <plat/regs-serial.h>
#include <plat/samsung-time.h>
#include "common.h"
...
...
arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
浏览文件 @
8460dc7f
...
...
@@ -19,13 +19,13 @@
#include <linux/irqchip.h>
#include <linux/of_platform.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <asm/mach/arch.h>
#include <mach/map.h>
#include <plat/cpu.h>
#include <plat/pm.h>
#include <plat/regs-serial.h>
#include "common.h"
...
...
arch/arm/mach-s3c24xx/mach-smdk2410.c
浏览文件 @
8460dc7f
...
...
@@ -35,6 +35,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
...
...
@@ -46,7 +47,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/devs.h>
...
...
arch/arm/mach-s3c24xx/mach-smdk2413.c
浏览文件 @
8460dc7f
...
...
@@ -19,6 +19,7 @@
#include <linux/init.h>
#include <linux/gpio.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
...
...
@@ -33,7 +34,6 @@
#include <asm/mach-types.h>
//#include <asm/debug-ll.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>
...
...
arch/arm/mach-s3c24xx/mach-smdk2416.c
浏览文件 @
8460dc7f
...
...
@@ -18,6 +18,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/mtd/partitions.h>
...
...
@@ -34,7 +35,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>
#include <mach/regs-s3c2443-clock.h>
...
...
arch/arm/mach-s3c24xx/mach-smdk2440.c
浏览文件 @
8460dc7f
...
...
@@ -20,6 +20,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
...
...
@@ -31,7 +32,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>
...
...
arch/arm/mach-s3c24xx/mach-smdk2443.c
浏览文件 @
8460dc7f
...
...
@@ -20,6 +20,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
...
...
@@ -31,7 +32,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>
...
...
arch/arm/mach-s3c24xx/mach-tct_hammer.c
浏览文件 @
8460dc7f
...
...
@@ -33,6 +33,7 @@
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <asm/mach/arch.h>
...
...
@@ -44,7 +45,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/devs.h>
#include <plat/cpu.h>
...
...
arch/arm/mach-s3c24xx/mach-vr1000.c
浏览文件 @
8460dc7f
...
...
@@ -25,6 +25,7 @@
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/serial_reg.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <asm/mach/arch.h>
...
...
@@ -45,7 +46,6 @@
#include <plat/clock.h>
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/regs-serial.h>
#include <plat/samsung-time.h>
#include "bast.h"
...
...
arch/arm/mach-s3c24xx/mach-vstms.c
浏览文件 @
8460dc7f
...
...
@@ -16,6 +16,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/mtd/mtd.h>
...
...
@@ -32,7 +33,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-lcd.h>
...
...
arch/arm/mach-s3c24xx/pm.c
浏览文件 @
8460dc7f
...
...
@@ -33,9 +33,9 @@
#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <plat/regs-serial.h>
#include <mach/regs-clock.h>
#include <mach/regs-gpio.h>
#include <mach/regs-irq.h>
...
...
arch/arm/mach-s3c24xx/s3c2410.c
浏览文件 @
8460dc7f
...
...
@@ -21,6 +21,7 @@
#include <linux/device.h>
#include <linux/syscore_ops.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>
#include <linux/io.h>
...
...
@@ -37,7 +38,6 @@
#include <plat/cpu-freq.h>
#include <mach/regs-clock.h>
#include <plat/regs-serial.h>
#include <plat/cpu.h>
#include <plat/devs.h>
...
...
arch/arm/mach-s3c24xx/s3c2412.c
浏览文件 @
8460dc7f
...
...
@@ -20,6 +20,7 @@
#include <linux/device.h>
#include <linux/syscore_ops.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/reboot.h>
...
...
@@ -43,7 +44,6 @@
#include <plat/nand-core.h>
#include <plat/pll.h>
#include <plat/pm.h>
#include <plat/regs-serial.h>
#include <plat/regs-spi.h>
#include "common.h"
...
...
arch/arm/mach-s3c24xx/s3c2416.c
浏览文件 @
8460dc7f
...
...
@@ -48,6 +48,7 @@
#include <asm/system_misc.h>
#include <mach/regs-s3c2443-clock.h>
#include <mach/rtc-core.h>
#include <plat/gpio-core.h>
#include <plat/gpio-cfg.h>
...
...
@@ -61,7 +62,6 @@
#include <plat/fb-core.h>
#include <plat/nand-core.h>
#include <plat/adc-core.h>
#include <plat/rtc-core.h>
#include <plat/spi-core.h>
#include "common.h"
...
...
arch/arm/mach-s3c24xx/s3c2443.c
浏览文件 @
8460dc7f
...
...
@@ -34,6 +34,7 @@
#include <asm/system_misc.h>
#include <mach/regs-s3c2443-clock.h>
#include <mach/rtc-core.h>
#include <plat/gpio-core.h>
#include <plat/gpio-cfg.h>
...
...
@@ -43,7 +44,6 @@
#include <plat/fb-core.h>
#include <plat/nand-core.h>
#include <plat/adc-core.h>
#include <plat/rtc-core.h>
#include <plat/spi-core.h>
static
struct
map_desc
s3c2443_iodesc
[]
__initdata
=
{
...
...
arch/arm/mach-s3c24xx/s3c244x.c
浏览文件 @
8460dc7f
...
...
@@ -17,6 +17,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>
#include <linux/device.h>
...
...
@@ -35,7 +36,6 @@
#include <plat/cpu-freq.h>
#include <mach/regs-clock.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/clock.h>
...
...
arch/arm/mach-s3c24xx/sleep-s3c2410.S
浏览文件 @
8460dc7f
...
...
@@ -25,13 +25,13 @@
*/
#include <linux/linkage.h>
#include <linux/serial_s3c.h>
#include <asm/assembler.h>
#include <mach/hardware.h>
#include <mach/map.h>
#include <mach/regs-gpio.h>
#include <mach/regs-clock.h>
#include <plat/regs-serial.h>
#include "regs-mem.h"
...
...
arch/arm/mach-s3c24xx/sleep.S
浏览文件 @
8460dc7f
...
...
@@ -25,13 +25,13 @@
*/
#include <linux/linkage.h>
#include <linux/serial_s3c.h>
#include <asm/assembler.h>
#include <mach/hardware.h>
#include <mach/map.h>
#include <mach/regs-gpio.h>
#include <mach/regs-clock.h>
#include <plat/regs-serial.h>
/*
CONFIG_DEBUG_RESUME
is
dangerous
if
your
bootloader
does
not
*
reset
the
UART
configuration
,
only
enable
if
you
really
need
this
!
...
...
arch/arm/mach-s3c64xx/common.c
浏览文件 @
8460dc7f
...
...
@@ -25,6 +25,7 @@
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>
#include <linux/io.h>
...
...
@@ -50,7 +51,6 @@
#include <plat/irq-uart.h>
#include <plat/pwm-core.h>
#include <plat/regs-irqtype.h>
#include <plat/regs-serial.h>
#include <plat/watchdog-reset.h>
#include "common.h"
...
...
arch/arm/mach-s3c64xx/include/mach/debug-macro.S
浏览文件 @
8460dc7f
...
...
@@ -12,8 +12,8 @@
/*
pull
in
the
relevant
register
and
map
files
.
*/
#include <linux/serial_s3c.h>
#include <mach/map.h>
#include <plat/regs-serial.h>
/
*
note
,
for
the
boot
process
to
work
we
have
to
keep
the
UART
*
virtual
address
aligned
to
an
1
MiB
boundary
for
the
L1
...
...
arch/arm/mach-s3c64xx/include/mach/tick.h
已删除
100644 → 0
浏览文件 @
e11d919e
/* linux/arch/arm/mach-s3c6400/include/mach/tick.h
*
* Copyright 2008 Openmoko, Inc.
* Copyright 2008 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*
* S3C64XX - Timer tick support definitions
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_TICK_H
#define __ASM_ARCH_TICK_H __FILE__
#include <linux/irqchip/arm-vic.h>
/* note, the timer interrutps turn up in 2 places, the vic and then
* the timer block. We take the VIC as the base at the moment.
*/
static
inline
u32
s3c24xx_ostimer_pending
(
void
)
{
u32
pend
=
__raw_readl
(
VA_VIC0
+
VIC_RAW_STATUS
);
return
pend
&
1
<<
(
IRQ_TIMER4_VIC
-
S3C64XX_IRQ_VIC0
(
0
));
}
#define TICK_MAX (0xffffffff)
#endif
/* __ASM_ARCH_6400_TICK_H */
arch/arm/mach-s3c64xx/include/mach/uncompress.h
已删除
100644 → 0
浏览文件 @
e11d919e
/* arch/arm/mach-s3c6400/include/mach/uncompress.h
*
* Copyright 2008 Openmoko, Inc.
* Copyright 2008 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*
* S3C6400 - uncompress code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H
#include <mach/map.h>
#include <plat/uncompress.h>
static
void
arch_detect_cpu
(
void
)
{
/* we do not need to do any cpu detection here at the moment. */
fifo_mask
=
S3C2440_UFSTAT_TXMASK
;
fifo_max
=
63
<<
S3C2440_UFSTAT_TXSHIFT
;
uart_base
=
(
volatile
u8
*
)
S3C_PA_UART
+
(
S3C_UART_OFFSET
*
CONFIG_S3C_LOWLEVEL_UART_PORT
);
}
#endif
/* __ASM_ARCH_UNCOMPRESS_H */
arch/arm/mach-s3c64xx/irq-pm.c
浏览文件 @
8460dc7f
...
...
@@ -20,13 +20,13 @@
#include <linux/syscore_ops.h>
#include <linux/interrupt.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/of.h>
#include <mach/map.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/cpu.h>
#include <plat/pm.h>
...
...
arch/arm/mach-s3c64xx/mach-anw6410.c
浏览文件 @
8460dc7f
...
...
@@ -20,6 +20,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/i2c.h>
...
...
@@ -41,7 +42,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/fb.h>
...
...
arch/arm/mach-s3c64xx/mach-crag6410.c
浏览文件 @
8460dc7f
...
...
@@ -14,6 +14,7 @@
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/fb.h>
#include <linux/io.h>
...
...
@@ -51,7 +52,6 @@
#include <mach/regs-gpio.h>
#include <mach/gpio-samsung.h>
#include <plat/regs-serial.h>
#include <plat/fb.h>
#include <plat/sdhci.h>
#include <plat/gpio-cfg.h>
...
...
arch/arm/mach-s3c64xx/mach-hmt.c
浏览文件 @
8460dc7f
...
...
@@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/i2c.h>
...
...
@@ -33,7 +34,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <mach/gpio-samsung.h>
#include <plat/fb.h>
...
...
arch/arm/mach-s3c64xx/mach-mini6410.c
浏览文件 @
8460dc7f
...
...
@@ -22,6 +22,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/types.h>
#include <asm/mach-types.h>
...
...
@@ -38,7 +39,6 @@
#include <plat/fb.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/mmc-sdhci-s3c.h>
#include <plat/regs-serial.h>
#include <plat/sdhci.h>
#include <linux/platform_data/touchscreen-s3c2410.h>
...
...
arch/arm/mach-s3c64xx/mach-ncp.c
浏览文件 @
8460dc7f
...
...
@@ -16,6 +16,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/i2c.h>
...
...
@@ -36,7 +37,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/fb.h>
...
...
arch/arm/mach-s3c64xx/mach-real6410.c
浏览文件 @
8460dc7f
...
...
@@ -23,6 +23,7 @@
#include <linux/mtd/partitions.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/types.h>
#include <asm/mach-types.h>
...
...
@@ -38,7 +39,6 @@
#include <plat/devs.h>
#include <plat/fb.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <plat/regs-serial.h>
#include <linux/platform_data/touchscreen-s3c2410.h>
#include <video/platform_lcd.h>
...
...
arch/arm/mach-s3c64xx/mach-smartq.c
浏览文件 @
8460dc7f
...
...
@@ -16,6 +16,7 @@
#include <linux/platform_device.h>
#include <linux/pwm_backlight.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/spi/spi_gpio.h>
#include <linux/usb/gpio_vbus.h>
#include <linux/platform_data/s3c-hsotg.h>
...
...
@@ -33,7 +34,6 @@
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/gpio-cfg.h>
#include <linux/platform_data/hwmon-s3c.h>
#include <plat/regs-serial.h>
#include <linux/platform_data/usb-ohci-s3c2410.h>
#include <plat/sdhci.h>
#include <linux/platform_data/touchscreen-s3c2410.h>
...
...
arch/arm/mach-s3c64xx/mach-smdk6400.c
浏览文件 @
8460dc7f
...
...
@@ -16,6 +16,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/io.h>
...
...
@@ -29,8 +30,6 @@
#include <mach/hardware.h>
#include <mach/map.h>
#include <plat/regs-serial.h>
#include <plat/clock.h>
#include <plat/devs.h>
#include <plat/cpu.h>
...
...
arch/arm/mach-s3c64xx/mach-smdk6410.c
浏览文件 @
8460dc7f
...
...
@@ -19,6 +19,7 @@
#include <linux/init.h>
#include <linux/input.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/i2c.h>
...
...
@@ -55,7 +56,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/gpio-samsung.h>
#include <linux/platform_data/ata-samsung_cf.h>
...
...
arch/arm/mach-s3c64xx/s3c6400.c
浏览文件 @
8460dc7f
...
...
@@ -23,6 +23,7 @@
#include <linux/io.h>
#include <linux/device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/of.h>
...
...
@@ -34,7 +35,6 @@
#include <asm/irq.h>
#include <plat/cpu-freq.h>
#include <plat/regs-serial.h>
#include <mach/regs-clock.h>
#include <plat/cpu.h>
...
...
arch/arm/mach-s3c64xx/s3c6410.c
浏览文件 @
8460dc7f
...
...
@@ -24,6 +24,7 @@
#include <linux/io.h>
#include <linux/device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/of.h>
...
...
@@ -35,7 +36,6 @@
#include <asm/irq.h>
#include <plat/cpu-freq.h>
#include <plat/regs-serial.h>
#include <mach/regs-clock.h>
#include <plat/cpu.h>
...
...
arch/arm/mach-s5p64x0/common.c
浏览文件 @
8460dc7f
...
...
@@ -19,6 +19,7 @@
#include <linux/io.h>
#include <linux/device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <clocksource/samsung_pwm.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
...
...
@@ -50,7 +51,6 @@
#include <plat/gpio-cfg.h>
#include <plat/pwm-core.h>
#include <plat/regs-irqtype.h>
#include <plat/regs-serial.h>
#include <plat/watchdog-reset.h>
#include "common.h"
...
...
arch/arm/mach-s5p64x0/include/mach/debug-macro.S
浏览文件 @
8460dc7f
...
...
@@ -10,11 +10,10 @@
/*
pull
in
the
relevant
register
and
map
files
.
*/
#include <linux/serial_s3c.h>
#include <plat/map-base.h>
#include <plat/map-s5p.h>
#include <plat/regs-serial.h>
.
macro
addruart
,
rp
,
rv
,
tmp
mov
\
rp
,
#
0xE0000000
orr
\
rp
,
\
rp
,
#
0x00100000
...
...
arch/arm/mach-s5p64x0/include/mach/uncompress.h
已删除
100644 → 0
浏览文件 @
e11d919e
/* linux/arch/arm/mach-s5p64x0/include/mach/uncompress.h
*
* Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* S5P64X0 - uncompress code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H
#include <mach/map.h>
#include <plat/uncompress.h>
static
void
arch_detect_cpu
(
void
)
{
unsigned
int
chipid
;
chipid
=
*
(
const
volatile
unsigned
int
__force
*
)
0xE0100118
;
if
((
chipid
&
0xff000
)
==
0x50000
)
uart_base
=
(
volatile
u8
*
)
S5P6450_PA_UART
(
CONFIG_S3C_LOWLEVEL_UART_PORT
);
else
uart_base
=
(
volatile
u8
*
)
S5P6440_PA_UART
(
CONFIG_S3C_LOWLEVEL_UART_PORT
);
fifo_mask
=
S3C2440_UFSTAT_TXMASK
;
fifo_max
=
63
<<
S3C2440_UFSTAT_TXSHIFT
;
}
#endif
/* __ASM_ARCH_UNCOMPRESS_H */
arch/arm/mach-s5p64x0/irq-pm.c
浏览文件 @
8460dc7f
...
...
@@ -14,9 +14,9 @@
#include <linux/syscore_ops.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <plat/regs-serial.h>
#include <plat/pm.h>
#include <mach/regs-gpio.h>
...
...
arch/arm/mach-s5p64x0/mach-smdk6440.c
浏览文件 @
8460dc7f
...
...
@@ -17,6 +17,7 @@
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/module.h>
...
...
@@ -39,7 +40,6 @@
#include <mach/regs-clock.h>
#include <mach/regs-gpio.h>
#include <plat/regs-serial.h>
#include <plat/gpio-cfg.h>
#include <plat/clock.h>
#include <plat/devs.h>
...
...
arch/arm/mach-s5p64x0/mach-smdk6450.c
浏览文件 @
8460dc7f
...
...
@@ -17,6 +17,7 @@
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/module.h>
...
...
@@ -39,7 +40,6 @@
#include <mach/regs-clock.h>
#include <mach/regs-gpio.h>
#include <plat/regs-serial.h>
#include <plat/gpio-cfg.h>
#include <plat/clock.h>
#include <plat/devs.h>
...
...
arch/arm/mach-s5pc100/common.c
浏览文件 @
8460dc7f
...
...
@@ -22,6 +22,7 @@
#include <linux/io.h>
#include <linux/device.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <clocksource/samsung_pwm.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
...
...
@@ -49,7 +50,6 @@
#include <plat/onenand-core.h>
#include <plat/pwm-core.h>
#include <plat/spi-core.h>
#include <plat/regs-serial.h>
#include <plat/watchdog-reset.h>
#include "common.h"
...
...
arch/arm/mach-s5pc100/include/mach/debug-macro.S
浏览文件 @
8460dc7f
...
...
@@ -13,8 +13,8 @@
/*
pull
in
the
relevant
register
and
map
files
.
*/
#include <linux/serial_s3c.h>
#include <mach/map.h>
#include <plat/regs-serial.h>
/
*
note
,
for
the
boot
process
to
work
we
have
to
keep
the
UART
*
virtual
address
aligned
to
an
1
MiB
boundary
for
the
L1
...
...
arch/arm/mach-s5pc100/include/mach/tick.h
已删除
100644 → 0
浏览文件 @
e11d919e
/* linux/arch/arm/mach-s5pc100/include/mach/tick.h
*
* Copyright 2009 Samsung Electronics Co.
* Byungho Min <bhmin@samsung.com>
*
* S3C64XX - Timer tick support definitions
*
* Based on mach-s3c6400/include/mach/tick.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_TICK_H
#define __ASM_ARCH_TICK_H __FILE__
#include <linux/irqchip/arm-vic.h>
/* note, the timer interrutps turn up in 2 places, the vic and then
* the timer block. We take the VIC as the base at the moment.
*/
static
inline
u32
s3c24xx_ostimer_pending
(
void
)
{
u32
pend
=
__raw_readl
(
VA_VIC0
+
VIC_RAW_STATUS
);
return
pend
&
(
1
<<
(
IRQ_TIMER4_VIC
-
S5P_IRQ_VIC0
(
0
)));
}
#define TICK_MAX (0xffffffff)
#endif
/* __ASM_ARCH_TICK_H */
arch/arm/mach-s5pc100/include/mach/uncompress.h
已删除
100644 → 0
浏览文件 @
e11d919e
/* arch/arm/mach-s5pc100/include/mach/uncompress.h
*
* Copyright 2009 Samsung Electronics Co.
* Byungho Min <bhmin@samsung.com>
*
* S5PC100 - uncompress code
*
* Based on mach-s3c6400/include/mach/uncompress.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H
#include <mach/map.h>
#include <plat/uncompress.h>
static
void
arch_detect_cpu
(
void
)
{
/* we do not need to do any cpu detection here at the moment. */
fifo_mask
=
S3C2440_UFSTAT_TXMASK
;
fifo_max
=
63
<<
S3C2440_UFSTAT_TXSHIFT
;
uart_base
=
(
volatile
u8
*
)
S5P_PA_UART
(
CONFIG_S3C_LOWLEVEL_UART_PORT
);
}
#endif
/* __ASM_ARCH_UNCOMPRESS_H */
arch/arm/mach-s5pc100/mach-smdkc100.c
浏览文件 @
8460dc7f
...
...
@@ -16,6 +16,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/gpio.h>
...
...
@@ -37,7 +38,6 @@
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <plat/gpio-cfg.h>
#include <plat/clock.h>
...
...
arch/arm/mach-s5pv210/common.c
浏览文件 @
8460dc7f
...
...
@@ -24,6 +24,7 @@
#include <linux/sched.h>
#include <linux/dma-mapping.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <asm/proc-fns.h>
#include <asm/mach/arch.h>
...
...
@@ -46,7 +47,6 @@
#include <plat/pwm-core.h>
#include <plat/tv-core.h>
#include <plat/spi-core.h>
#include <plat/regs-serial.h>
#include "common.h"
...
...
arch/arm/mach-s5pv210/include/mach/debug-macro.S
浏览文件 @
8460dc7f
...
...
@@ -12,8 +12,8 @@
/*
pull
in
the
relevant
register
and
map
files
.
*/
#include <linux/serial_s3c.h>
#include <mach/map.h>
#include <plat/regs-serial.h>
/
*
note
,
for
the
boot
process
to
work
we
have
to
keep
the
UART
*
virtual
address
aligned
to
an
1
MiB
boundary
for
the
L1
...
...
arch/arm/mach-s5pv210/include/mach/uncompress.h
已删除
100644 → 0
浏览文件 @
e11d919e
/* linux/arch/arm/mach-s5pv210/include/mach/uncompress.h
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* S5PV210 - uncompress code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H
#include <mach/map.h>
#include <plat/uncompress.h>
static
void
arch_detect_cpu
(
void
)
{
/* we do not need to do any cpu detection here at the moment. */
fifo_mask
=
S5PV210_UFSTAT_TXMASK
;
fifo_max
=
63
<<
S5PV210_UFSTAT_TXSHIFT
;
uart_base
=
(
volatile
u8
*
)
S5P_PA_UART
(
CONFIG_S3C_LOWLEVEL_UART_PORT
);
}
#endif
/* __ASM_ARCH_UNCOMPRESS_H */
arch/arm/mach-s5pv210/mach-aquila.c
浏览文件 @
8460dc7f
...
...
@@ -12,6 +12,7 @@
#include <linux/types.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/fb.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
...
...
@@ -32,7 +33,6 @@
#include <mach/regs-clock.h>
#include <plat/gpio-cfg.h>
#include <plat/regs-serial.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/fb.h>
...
...
arch/arm/mach-s5pv210/mach-goni.c
浏览文件 @
8460dc7f
...
...
@@ -12,6 +12,7 @@
#include <linux/types.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/fb.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
...
...
@@ -39,7 +40,6 @@
#include <mach/regs-clock.h>
#include <plat/gpio-cfg.h>
#include <plat/regs-serial.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/fb.h>
...
...
arch/arm/mach-s5pv210/mach-smdkc110.c
浏览文件 @
8460dc7f
...
...
@@ -12,6 +12,7 @@
#include <linux/types.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/i2c.h>
#include <linux/device.h>
...
...
@@ -23,7 +24,6 @@
#include <mach/map.h>
#include <mach/regs-clock.h>
#include <plat/regs-serial.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <linux/platform_data/ata-samsung_cf.h>
...
...
arch/arm/mach-s5pv210/mach-smdkv210.c
浏览文件 @
8460dc7f
...
...
@@ -13,6 +13,7 @@
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/device.h>
#include <linux/dm9000.h>
#include <linux/fb.h>
...
...
@@ -32,7 +33,6 @@
#include <mach/map.h>
#include <mach/regs-clock.h>
#include <plat/regs-serial.h>
#include <plat/regs-srom.h>
#include <plat/gpio-cfg.h>
#include <plat/devs.h>
...
...
arch/arm/mach-s5pv210/mach-torbreck.c
浏览文件 @
8460dc7f
...
...
@@ -13,6 +13,7 @@
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
...
...
@@ -22,7 +23,6 @@
#include <mach/map.h>
#include <mach/regs-clock.h>
#include <plat/regs-serial.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <linux/platform_data/i2c-s3c2410.h>
...
...
arch/arm/plat-samsung/clock.c
浏览文件 @
8460dc7f
...
...
@@ -52,7 +52,7 @@
#include <plat/cpu.h>
#include <linux/serial_core.h>
#include <
plat/regs-serial
.h>
/* for s3c24xx_uart_devs */
#include <
linux/serial_s3c
.h>
/* for s3c24xx_uart_devs */
/* clock information */
...
...
arch/arm/plat-samsung/cpu.c
浏览文件 @
8460dc7f
...
...
@@ -28,13 +28,6 @@ unsigned int samsung_rev(void)
}
EXPORT_SYMBOL
(
samsung_rev
);
void
__init
s3c24xx_init_cpu
(
void
)
{
/* nothing here yet */
samsung_cpu_rev
=
0
;
}
void
__init
s3c64xx_init_cpu
(
void
)
{
samsung_cpu_id
=
__raw_readl
(
S3C_VA_SYS
+
0x118
);
...
...
arch/arm/plat-samsung/devs.c
浏览文件 @
8460dc7f
...
...
@@ -18,6 +18,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
...
...
@@ -64,7 +65,6 @@
#include <linux/platform_data/usb-s3c2410_udc.h>
#include <linux/platform_data/usb-ohci-s3c2410.h>
#include <plat/usb-phy.h>
#include <plat/regs-serial.h>
#include <plat/regs-spi.h>
#include <linux/platform_data/spi-s3c64xx.h>
...
...
@@ -744,10 +744,7 @@ void __init s5p_i2c_hdmiphy_set_platdata(struct s3c2410_platform_i2c *pd)
if
(
!
pd
)
{
pd
=
&
default_i2c_data
;
if
(
soc_is_exynos4210
()
||
soc_is_exynos4212
()
||
soc_is_exynos4412
())
pd
->
bus_num
=
8
;
else
if
(
soc_is_s5pv210
())
if
(
soc_is_s5pv210
())
pd
->
bus_num
=
3
;
else
pd
->
bus_num
=
0
;
...
...
@@ -764,10 +761,7 @@ void __init s5p_hdmi_set_platdata(struct i2c_board_info *hdmiphy_info,
{
struct
s5p_hdmi_platform_data
*
pd
=
&
s5p_hdmi_def_platdata
;
if
(
soc_is_exynos4210
()
||
soc_is_exynos4212
()
||
soc_is_exynos4412
())
pd
->
hdmiphy_bus
=
8
;
else
if
(
soc_is_s5pv210
())
if
(
soc_is_s5pv210
())
pd
->
hdmiphy_bus
=
3
;
else
pd
->
hdmiphy_bus
=
0
;
...
...
arch/arm/plat-samsung/include/plat/cpu.h
浏览文件 @
8460dc7f
...
...
@@ -199,7 +199,6 @@ extern void s5p_init_irq(u32 *vic, u32 num_vic);
extern
void
s3c24xx_init_io
(
struct
map_desc
*
mach_desc
,
int
size
);
extern
void
s3c24xx_init_cpu
(
void
);
extern
void
s3c64xx_init_cpu
(
void
);
extern
void
s5p_init_cpu
(
void
__iomem
*
cpuid_addr
);
...
...
arch/arm/plat-samsung/include/plat/regs-serial.h
已删除
100644 → 0
浏览文件 @
e11d919e
#include <linux/serial_s3c.h>
arch/arm/plat-samsung/include/plat/uncompress.h
已删除
100644 → 0
浏览文件 @
e11d919e
/* arch/arm/plat-samsung/include/plat/uncompress.h
*
* Copyright 2003, 2007 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*
* S3C - uncompress code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_PLAT_UNCOMPRESS_H
#define __ASM_PLAT_UNCOMPRESS_H
typedef
unsigned
int
upf_t
;
/* cannot include linux/serial_core.h */
/* uart setup */
unsigned
int
fifo_mask
;
unsigned
int
fifo_max
;
volatile
u8
*
uart_base
;
/* forward declerations */
static
void
arch_detect_cpu
(
void
);
/* defines for UART registers */
#include <plat/regs-serial.h>
/* working in physical space... */
#define S3C_WDOGREG(x) ((S3C_PA_WDT + (x)))
#define S3C2410_WTCON S3C_WDOGREG(0x00)
#define S3C2410_WTDAT S3C_WDOGREG(0x04)
#define S3C2410_WTCNT S3C_WDOGREG(0x08)
#define S3C2410_WTCON_RSTEN (1 << 0)
#define S3C2410_WTCON_ENABLE (1 << 5)
#define S3C2410_WTCON_DIV128 (3 << 3)
#define S3C2410_WTCON_PRESCALE(x) ((x) << 8)
/* how many bytes we allow into the FIFO at a time in FIFO mode */
#define FIFO_MAX (14)
static
__inline__
void
uart_wr
(
unsigned
int
reg
,
unsigned
int
val
)
{
volatile
unsigned
int
*
ptr
;
ptr
=
(
volatile
unsigned
int
*
)(
reg
+
uart_base
);
*
ptr
=
val
;
}
static
__inline__
unsigned
int
uart_rd
(
unsigned
int
reg
)
{
volatile
unsigned
int
*
ptr
;
ptr
=
(
volatile
unsigned
int
*
)(
reg
+
uart_base
);
return
*
ptr
;
}
/* we can deal with the case the UARTs are being run
* in FIFO mode, so that we don't hold up our execution
* waiting for tx to happen...
*/
static
void
putc
(
int
ch
)
{
if
(
!
config_enabled
(
CONFIG_DEBUG_LL
))
return
;
if
(
uart_rd
(
S3C2410_UFCON
)
&
S3C2410_UFCON_FIFOMODE
)
{
int
level
;
while
(
1
)
{
level
=
uart_rd
(
S3C2410_UFSTAT
);
level
&=
fifo_mask
;
if
(
level
<
fifo_max
)
break
;
}
}
else
{
/* not using fifos */
while
((
uart_rd
(
S3C2410_UTRSTAT
)
&
S3C2410_UTRSTAT_TXE
)
!=
S3C2410_UTRSTAT_TXE
)
barrier
();
}
/* write byte to transmission register */
uart_wr
(
S3C2410_UTXH
,
ch
);
}
static
inline
void
flush
(
void
)
{
}
#define __raw_writel(d, ad) \
do { \
*((volatile unsigned int __force *)(ad)) = (d); \
} while (0)
#ifdef CONFIG_S3C_BOOT_ERROR_RESET
static
void
arch_decomp_error
(
const
char
*
x
)
{
putstr
(
"
\n\n
"
);
putstr
(
x
);
putstr
(
"
\n\n
-- System resetting
\n
"
);
__raw_writel
(
0x4000
,
S3C2410_WTDAT
);
__raw_writel
(
0x4000
,
S3C2410_WTCNT
);
__raw_writel
(
S3C2410_WTCON_ENABLE
|
S3C2410_WTCON_DIV128
|
S3C2410_WTCON_RSTEN
|
S3C2410_WTCON_PRESCALE
(
0x40
),
S3C2410_WTCON
);
while
(
1
);
}
#define arch_error arch_decomp_error
#endif
#ifdef CONFIG_S3C_BOOT_UART_FORCE_FIFO
static
inline
void
arch_enable_uart_fifo
(
void
)
{
u32
fifocon
;
if
(
!
config_enabled
(
CONFIG_DEBUG_LL
))
return
;
fifocon
=
uart_rd
(
S3C2410_UFCON
);
if
(
!
(
fifocon
&
S3C2410_UFCON_FIFOMODE
))
{
fifocon
|=
S3C2410_UFCON_RESETBOTH
;
uart_wr
(
S3C2410_UFCON
,
fifocon
);
/* wait for fifo reset to complete */
while
(
1
)
{
fifocon
=
uart_rd
(
S3C2410_UFCON
);
if
(
!
(
fifocon
&
S3C2410_UFCON_RESETBOTH
))
break
;
}
uart_wr
(
S3C2410_UFCON
,
S3C2410_UFCON_FIFOMODE
);
}
}
#else
#define arch_enable_uart_fifo() do { } while(0)
#endif
static
void
arch_decomp_setup
(
void
)
{
/* we may need to setup the uart(s) here if we are not running
* on an BAST... the BAST will have left the uarts configured
* after calling linux.
*/
arch_detect_cpu
();
/* Enable the UART FIFOs if they where not enabled and our
* configuration says we should turn them on.
*/
arch_enable_uart_fifo
();
}
#endif
/* __ASM_PLAT_UNCOMPRESS_H */
arch/arm/plat-samsung/init.c
浏览文件 @
8460dc7f
...
...
@@ -21,6 +21,7 @@
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/platform_device.h>
#include <linux/of.h>
...
...
@@ -33,8 +34,6 @@
#include <plat/devs.h>
#include <plat/clock.h>
#include <plat/regs-serial.h>
static
struct
cpu_table
*
cpu
;
static
struct
cpu_table
*
__init
s3c_lookup_cpu
(
unsigned
long
idcode
,
...
...
arch/arm/plat-samsung/pm-gpio.c
浏览文件 @
8460dc7f
...
...
@@ -196,8 +196,7 @@ struct samsung_gpio_pm samsung_gpio_pm_2bit = {
.
resume
=
samsung_gpio_pm_2bit_resume
,
};
#if defined(CONFIG_ARCH_S3C64XX) || defined(CONFIG_PLAT_S5P) \
|| defined(CONFIG_ARCH_EXYNOS)
#if defined(CONFIG_ARCH_S3C64XX) || defined(CONFIG_PLAT_S5P)
static
void
samsung_gpio_pm_4bit_save
(
struct
samsung_gpio_chip
*
chip
)
{
chip
->
pm_save
[
1
]
=
__raw_readl
(
chip
->
base
+
OFFS_CON
);
...
...
@@ -307,7 +306,7 @@ struct samsung_gpio_pm samsung_gpio_pm_4bit = {
.
save
=
samsung_gpio_pm_4bit_save
,
.
resume
=
samsung_gpio_pm_4bit_resume
,
};
#endif
/* CONFIG_ARCH_S3C64XX || CONFIG_PLAT_S5P
|| CONFIG_ARCH_EXYNOS
*/
#endif
/* CONFIG_ARCH_S3C64XX || CONFIG_PLAT_S5P */
/**
* samsung_pm_save_gpio() - save gpio chip data for suspend
...
...
arch/arm/plat-samsung/pm.c
浏览文件 @
8460dc7f
...
...
@@ -18,13 +18,12 @@
#include <linux/delay.h>
#include <linux/of.h>
#include <linux/serial_core.h>
#include <linux/serial_s3c.h>
#include <linux/io.h>
#include <asm/cacheflush.h>
#include <asm/suspend.h>
#include <plat/regs-serial.h>
#ifdef CONFIG_SAMSUNG_ATAGS
#include <mach/hardware.h>
#include <mach/map.h>
...
...
arch/arm/plat-samsung/s5p-irq-pm.c
浏览文件 @
8460dc7f
...
...
@@ -22,10 +22,7 @@
#include <mach/map.h>
#include <mach/regs-gpio.h>
#ifndef CONFIG_ARCH_EXYNOS
#include <mach/regs-irq.h>
#endif
/* state for IRQs over sleep */
...
...
@@ -43,18 +40,8 @@ int s3c_irq_wake(struct irq_data *data, unsigned int state)
unsigned
long
irqbit
;
unsigned
int
irq_rtc_tic
,
irq_rtc_alarm
;
#ifdef CONFIG_ARCH_EXYNOS
if
(
soc_is_exynos5250
())
{
irq_rtc_tic
=
EXYNOS5_IRQ_RTC_TIC
;
irq_rtc_alarm
=
EXYNOS5_IRQ_RTC_ALARM
;
}
else
{
irq_rtc_tic
=
EXYNOS4_IRQ_RTC_TIC
;
irq_rtc_alarm
=
EXYNOS4_IRQ_RTC_ALARM
;
}
#else
irq_rtc_tic
=
IRQ_RTC_TIC
;
irq_rtc_alarm
=
IRQ_RTC_ALARM
;
#endif
if
(
data
->
irq
==
irq_rtc_tic
||
data
->
irq
==
irq_rtc_alarm
)
{
irqbit
=
1
<<
(
data
->
irq
+
1
-
irq_rtc_alarm
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录