Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
eda49eee
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
eda49eee
编写于
7月 15, 2008
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[MIPS] Remove always true ifdef conditions.
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
d5deda6f
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
2 addition
and
19 deletion
+2
-19
arch/mips/Makefile
arch/mips/Makefile
+2
-6
arch/mips/configs/malta_defconfig
arch/mips/configs/malta_defconfig
+0
-1
arch/mips/mips-boards/generic/memory.c
arch/mips/mips-boards/generic/memory.c
+0
-6
arch/mips/mips-boards/generic/reset.c
arch/mips/mips-boards/generic/reset.c
+0
-2
arch/mips/mips-boards/generic/time.c
arch/mips/mips-boards/generic/time.c
+0
-4
未找到文件。
arch/mips/Makefile
浏览文件 @
eda49eee
...
...
@@ -304,15 +304,11 @@ core-$(CONFIG_LEMOTE_FULONG) +=arch/mips/lemote/lm2e/
load-$(CONFIG_LEMOTE_FULONG)
+=
0xffffffff80100000
cflags-$(CONFIG_LEMOTE_FULONG)
+=
-Iinclude
/asm-mips/mach-lemote
#
# For all MIPS, Inc. eval boards
#
core-$(CONFIG_MIPS_BOARDS_GEN)
+=
arch
/mips/mips-boards/generic/
#
# MIPS Malta board
#
core-$(CONFIG_MIPS_MALTA)
+=
arch
/mips/mips-boards/malta/
core-$(CONFIG_MIPS_MALTA)
+=
arch
/mips/mips-boards/generic/
\
arch
/mips/mips-boards/malta/
cflags-$(CONFIG_MIPS_MALTA)
+=
-Iinclude
/asm-mips/mach-mips
load-$(CONFIG_MIPS_MALTA)
+=
0xffffffff80100000
all-$(CONFIG_MIPS_MALTA)
:=
vmlinux.bin
...
...
arch/mips/configs/malta_defconfig
浏览文件 @
eda49eee
...
...
@@ -66,7 +66,6 @@ CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
CONFIG_IRQ_CPU=y
CONFIG_MIPS_BOARDS_GEN=y
CONFIG_PCI_GT64XXX_PCI0=y
CONFIG_SWAP_IO_SPACE=y
CONFIG_BOOT_ELF32=y
...
...
arch/mips/mips-boards/generic/memory.c
浏览文件 @
eda49eee
...
...
@@ -97,7 +97,6 @@ static struct prom_pmemblock * __init prom_getmdesc(void)
mdesc
[
1
].
base
=
0x00001000
;
mdesc
[
1
].
size
=
0x000ef000
;
#ifdef CONFIG_MIPS_MALTA
/*
* The area 0x000f0000-0x000fffff is allocated for BIOS memory by the
* south bridge and PCI access always forwarded to the ISA Bus and
...
...
@@ -108,11 +107,6 @@ static struct prom_pmemblock * __init prom_getmdesc(void)
mdesc
[
2
].
type
=
yamon_dontuse
;
mdesc
[
2
].
base
=
0x000f0000
;
mdesc
[
2
].
size
=
0x00010000
;
#else
mdesc
[
2
].
type
=
yamon_prom
;
mdesc
[
2
].
base
=
0x000f0000
;
mdesc
[
2
].
size
=
0x00010000
;
#endif
mdesc
[
3
].
type
=
yamon_dontuse
;
mdesc
[
3
].
base
=
0x00100000
;
...
...
arch/mips/mips-boards/generic/reset.c
浏览文件 @
eda49eee
...
...
@@ -52,7 +52,5 @@ void mips_reboot_setup(void)
{
_machine_restart
=
mips_machine_restart
;
_machine_halt
=
mips_machine_halt
;
#ifdef CONFIG_MIPS_MALTA
pm_power_off
=
mips_machine_halt
;
#endif
}
arch/mips/mips-boards/generic/time.c
浏览文件 @
eda49eee
...
...
@@ -42,9 +42,7 @@
#include <asm/mips-boards/generic.h>
#include <asm/mips-boards/prom.h>
#ifdef CONFIG_MIPS_MALTA
#include <asm/mips-boards/maltaint.h>
#endif
unsigned
long
cpu_khz
;
...
...
@@ -70,7 +68,6 @@ static unsigned int __init estimate_cpu_frequency(void)
unsigned
int
prid
=
read_c0_prid
()
&
0xffff00
;
unsigned
int
count
;
#ifdef CONFIG_MIPS_MALTA
unsigned
long
flags
;
unsigned
int
start
;
...
...
@@ -91,7 +88,6 @@ static unsigned int __init estimate_cpu_frequency(void)
/* restore interrupts */
local_irq_restore
(
flags
);
#endif
mips_hpt_frequency
=
count
;
if
((
prid
!=
(
PRID_COMP_MIPS
|
PRID_IMP_20KC
))
&&
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录