Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
a384fe55
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
a384fe55
编写于
10月 26, 2009
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'sh/stable-updates'
上级
ef01b9a0
9e24c7e2
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
20 addition
and
15 deletion
+20
-15
arch/sh/Makefile
arch/sh/Makefile
+1
-1
arch/sh/boards/mach-rsk/devices-rsk7203.c
arch/sh/boards/mach-rsk/devices-rsk7203.c
+0
-4
arch/sh/boards/mach-rsk/setup.c
arch/sh/boards/mach-rsk/setup.c
+14
-9
arch/sh/boot/Makefile
arch/sh/boot/Makefile
+5
-1
未找到文件。
arch/sh/Makefile
浏览文件 @
a384fe55
...
...
@@ -199,7 +199,7 @@ endif
libs-$(CONFIG_SUPERH32)
:=
arch
/sh/lib/
$
(
libs-y
)
libs-$(CONFIG_SUPERH64)
:=
arch
/sh/lib64/
$
(
libs-y
)
BOOT_TARGETS
=
uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec
\
BOOT_TARGETS
=
uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec
uImage.bin
\
zImage vmlinux.srec romImage
PHONY
+=
maketools
$(BOOT_TARGETS)
FORCE
...
...
arch/sh/boards/mach-rsk/devices-rsk7203.c
浏览文件 @
a384fe55
...
...
@@ -11,10 +11,6 @@
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>
#include <linux/mtd/map.h>
#include <linux/smsc911x.h>
#include <linux/gpio.h>
#include <linux/leds.h>
...
...
arch/sh/boards/mach-rsk/setup.c
浏览文件 @
a384fe55
...
...
@@ -15,14 +15,12 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>
#ifdef CONFIG_MTD
#include <linux/mtd/map.h>
#endif
#include <asm/machvec.h>
#include <asm/io.h>
static
const
char
*
probes
[]
=
{
"cmdlinepart"
,
NULL
};
static
struct
mtd_partition
*
parsed_partitions
;
static
struct
mtd_partition
rsk_partitions
[]
=
{
{
.
name
=
"Bootloader"
,
...
...
@@ -41,6 +39,8 @@ static struct mtd_partition rsk_partitions[] = {
};
static
struct
physmap_flash_data
flash_data
=
{
.
parts
=
rsk_partitions
,
.
nr_parts
=
ARRAY_SIZE
(
rsk_partitions
),
.
width
=
2
,
};
...
...
@@ -60,7 +60,8 @@ static struct platform_device flash_device = {
},
};
static
struct
mtd_info
*
flash_mtd
;
#ifdef CONFIG_MTD
static
const
char
*
probes
[]
=
{
"cmdlinepart"
,
NULL
};
static
struct
map_info
rsk_flash_map
=
{
.
name
=
"RSK+ Flash"
,
...
...
@@ -68,6 +69,10 @@ static struct map_info rsk_flash_map = {
.
bankwidth
=
2
,
};
static
struct
mtd_info
*
flash_mtd
;
static
struct
mtd_partition
*
parsed_partitions
;
static
void
__init
set_mtd_partitions
(
void
)
{
int
nr_parts
=
0
;
...
...
@@ -77,14 +82,14 @@ static void __init set_mtd_partitions(void)
nr_parts
=
parse_mtd_partitions
(
flash_mtd
,
probes
,
&
parsed_partitions
,
0
);
/* If there is no partition table, used the hard coded table */
if
(
nr_parts
<=
0
)
{
flash_data
.
parts
=
rsk_partitions
;
flash_data
.
nr_parts
=
ARRAY_SIZE
(
rsk_partitions
);
}
else
{
if
(
nr_parts
>
0
)
{
flash_data
.
nr_parts
=
nr_parts
;
flash_data
.
parts
=
parsed_partitions
;
}
}
#else
static
inline
void
set_mtd_partitions
(
void
)
{}
#endif
static
struct
platform_device
*
rsk_devices
[]
__initdata
=
{
&
flash_device
,
...
...
arch/sh/boot/Makefile
浏览文件 @
a384fe55
...
...
@@ -20,11 +20,12 @@ CONFIG_BOOT_LINK_OFFSET ?= 0x00800000
CONFIG_ZERO_PAGE_OFFSET
?=
0x00001000
CONFIG_ENTRY_OFFSET
?=
0x00001000
suffix-y
:=
bin
suffix-$(CONFIG_KERNEL_GZIP)
:=
gz
suffix-$(CONFIG_KERNEL_BZIP2)
:=
bz2
suffix-$(CONFIG_KERNEL_LZMA)
:=
lzma
targets
:=
zImage vmlinux.srec romImage uImage uImage.srec uImage.gz uImage.bz2 uImage.lzma
targets
:=
zImage vmlinux.srec romImage uImage uImage.srec uImage.gz uImage.bz2 uImage.lzma
uImage.bin
extra-y
+=
vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma
subdir-
:=
compressed romimage
...
...
@@ -88,6 +89,9 @@ $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz
$(obj)/uImage.lzma
:
$(obj)/vmlinux.bin.lzma
$(
call
if_changed,uimage,lzma
)
$(obj)/uImage.bin
:
$(obj)/vmlinux.bin
$(
call
if_changed,uimage,none
)
OBJCOPYFLAGS_vmlinux.srec
:=
-I
binary
-O
srec
$(obj)/vmlinux.srec
:
$(obj)/compressed/vmlinux
$(
call
if_changed,objcopy
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录