Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
8f3dda75
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
8f3dda75
编写于
4月 18, 2011
作者:
B
Benjamin Herrenschmidt
浏览文件
操作
浏览文件
下载
差异文件
Merge remote branch 'kumar/merge' into merge
上级
a1b49cb7
e5462d16
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
26 addition
and
7 deletion
+26
-7
arch/powerpc/Kconfig
arch/powerpc/Kconfig
+1
-1
arch/powerpc/include/asm/cputable.h
arch/powerpc/include/asm/cputable.h
+14
-2
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/cputable.c
+1
-1
arch/powerpc/kernel/legacy_serial.c
arch/powerpc/kernel/legacy_serial.c
+5
-3
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/fsl_pci.c
+5
-0
未找到文件。
arch/powerpc/Kconfig
浏览文件 @
8f3dda75
...
...
@@ -209,7 +209,7 @@ config ARCH_HIBERNATION_POSSIBLE
config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
PPC_85xx
|| PPC_86xx || PPC_PSERIES || 44x || 40x
(PPC_85xx && !SMP)
|| PPC_86xx || PPC_PSERIES || 44x || 40x
config PPC_DCR_NATIVE
bool
...
...
arch/powerpc/include/asm/cputable.h
浏览文件 @
8f3dda75
...
...
@@ -382,10 +382,12 @@ extern const char *powerpc_base_platform;
#define CPU_FTRS_E500_2 (CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_USE_TB | \
CPU_FTR_SPE_COMP | CPU_FTR_MAYBE_CAN_NAP | \
CPU_FTR_NODSISRALIGN | CPU_FTR_NOEXECUTE)
#define CPU_FTRS_E500MC (CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_USE_TB | \
CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_NODSISRALIGN | \
#define CPU_FTRS_E500MC (CPU_FTR_USE_TB | CPU_FTR_NODSISRALIGN | \
CPU_FTR_L2CSR | CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
CPU_FTR_DBELL)
#define CPU_FTRS_E5500 (CPU_FTR_USE_TB | CPU_FTR_NODSISRALIGN | \
CPU_FTR_L2CSR | CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
CPU_FTR_DBELL | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD)
#define CPU_FTRS_GENERIC_32 (CPU_FTR_COMMON | CPU_FTR_NODSISRALIGN)
/* 64-bit CPUs */
...
...
@@ -435,11 +437,15 @@ extern const char *powerpc_base_platform;
#define CPU_FTRS_COMPATIBLE (CPU_FTR_USE_TB | CPU_FTR_PPCAS_ARCH_V2)
#ifdef __powerpc64__
#ifdef CONFIG_PPC_BOOK3E
#define CPU_FTRS_POSSIBLE (CPU_FTRS_E5500)
#else
#define CPU_FTRS_POSSIBLE \
(CPU_FTRS_POWER3 | CPU_FTRS_RS64 | CPU_FTRS_POWER4 | \
CPU_FTRS_PPC970 | CPU_FTRS_POWER5 | CPU_FTRS_POWER6 | \
CPU_FTRS_POWER7 | CPU_FTRS_CELL | CPU_FTRS_PA6T | \
CPU_FTR_1T_SEGMENT | CPU_FTR_VSX)
#endif
#else
enum
{
CPU_FTRS_POSSIBLE
=
...
...
@@ -473,16 +479,21 @@ enum {
#endif
#ifdef CONFIG_E500
CPU_FTRS_E500
|
CPU_FTRS_E500_2
|
CPU_FTRS_E500MC
|
CPU_FTRS_E5500
|
#endif
0
,
};
#endif
/* __powerpc64__ */
#ifdef __powerpc64__
#ifdef CONFIG_PPC_BOOK3E
#define CPU_FTRS_ALWAYS (CPU_FTRS_E5500)
#else
#define CPU_FTRS_ALWAYS \
(CPU_FTRS_POWER3 & CPU_FTRS_RS64 & CPU_FTRS_POWER4 & \
CPU_FTRS_PPC970 & CPU_FTRS_POWER5 & CPU_FTRS_POWER6 & \
CPU_FTRS_POWER7 & CPU_FTRS_CELL & CPU_FTRS_PA6T & CPU_FTRS_POSSIBLE)
#endif
#else
enum
{
CPU_FTRS_ALWAYS
=
...
...
@@ -513,6 +524,7 @@ enum {
#endif
#ifdef CONFIG_E500
CPU_FTRS_E500
&
CPU_FTRS_E500_2
&
CPU_FTRS_E500MC
&
CPU_FTRS_E5500
&
#endif
CPU_FTRS_POSSIBLE
,
};
...
...
arch/powerpc/kernel/cputable.c
浏览文件 @
8f3dda75
...
...
@@ -1973,7 +1973,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
.
pvr_mask
=
0xffff0000
,
.
pvr_value
=
0x80240000
,
.
cpu_name
=
"e5500"
,
.
cpu_features
=
CPU_FTRS_E5
00MC
,
.
cpu_features
=
CPU_FTRS_E5
500
,
.
cpu_user_features
=
COMMON_USER_BOOKE
,
.
mmu_features
=
MMU_FTR_TYPE_FSL_E
|
MMU_FTR_BIG_PHYS
|
MMU_FTR_USE_TLBILX
,
...
...
arch/powerpc/kernel/legacy_serial.c
浏览文件 @
8f3dda75
...
...
@@ -330,9 +330,11 @@ void __init find_legacy_serial_ports(void)
if
(
!
parent
)
continue
;
if
(
of_match_node
(
legacy_serial_parents
,
parent
)
!=
NULL
)
{
index
=
add_legacy_soc_port
(
np
,
np
);
if
(
index
>=
0
&&
np
==
stdout
)
legacy_serial_console
=
index
;
if
(
of_device_is_available
(
np
))
{
index
=
add_legacy_soc_port
(
np
,
np
);
if
(
index
>=
0
&&
np
==
stdout
)
legacy_serial_console
=
index
;
}
}
of_node_put
(
parent
);
}
...
...
arch/powerpc/sysdev/fsl_pci.c
浏览文件 @
8f3dda75
...
...
@@ -324,6 +324,11 @@ int __init fsl_add_bridge(struct device_node *dev, int is_primary)
struct
resource
rsrc
;
const
int
*
bus_range
;
if
(
!
of_device_is_available
(
dev
))
{
pr_warning
(
"%s: disabled
\n
"
,
dev
->
full_name
);
return
-
ENODEV
;
}
pr_debug
(
"Adding PCI host bridge %s
\n
"
,
dev
->
full_name
);
/* Fetch host bridge registers address */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录