Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
455ae7e8
U
U-Boot.Mirror
项目概览
OS
/
U-Boot.Mirror
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
U-Boot.Mirror
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
455ae7e8
编写于
12月 16, 2008
作者:
W
Wolfgang Denk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Coding style cleanup, update CHANGELOG.
Signed-off-by:
N
Wolfgang Denk
<
wd@denx.de
>
上级
84bc72d9
变更
17
展开全部
隐藏空白更改
内联
并排
Showing
17 changed file
with
2684 addition
and
22 deletion
+2684
-22
CHANGELOG
CHANGELOG
+2668
-0
board/afeb9260/partition.c
board/afeb9260/partition.c
+0
-1
common/cmd_ubi.c
common/cmd_ubi.c
+1
-1
cpu/mcf52x2/cpu_init.c
cpu/mcf52x2/cpu_init.c
+1
-1
cpu/mpc86xx/start.S
cpu/mpc86xx/start.S
+0
-2
cpu/ppc4xx/cpu.c
cpu/ppc4xx/cpu.c
+0
-1
cpu/ppc4xx/start.S
cpu/ppc4xx/start.S
+1
-1
drivers/i2c/soft_i2c.c
drivers/i2c/soft_i2c.c
+0
-1
drivers/mtd/ubi/crc32.c
drivers/mtd/ubi/crc32.c
+1
-1
drivers/mtd/ubi/io.c
drivers/mtd/ubi/io.c
+1
-1
drivers/mtd/ubi/vmt.c
drivers/mtd/ubi/vmt.c
+1
-1
include/configs/PMC440.h
include/configs/PMC440.h
+1
-1
include/configs/afeb9260.h
include/configs/afeb9260.h
+0
-1
include/linux/crc32.h
include/linux/crc32.h
+4
-4
include/linux/mtd/partitions.h
include/linux/mtd/partitions.h
+3
-3
include/linux/mtd/ubi.h
include/linux/mtd/ubi.h
+1
-1
include/ubi_uboot.h
include/ubi_uboot.h
+1
-1
未找到文件。
CHANGELOG
浏览文件 @
455ae7e8
此差异已折叠。
点击以展开。
board/afeb9260/partition.c
浏览文件 @
455ae7e8
...
...
@@ -34,4 +34,3 @@ dataflash_protect_t area_list[NB_DATAFLASH_AREA] = {
{
0x00004200
,
0x000083FF
,
FLAG_PROTECT_CLEAR
,
0
,
"Environment"
},
{
0x00008400
,
0x00041FFF
,
FLAG_PROTECT_CLEAR
,
0
,
"U-Boot"
},
};
common/cmd_ubi.c
浏览文件 @
455ae7e8
...
...
@@ -601,7 +601,7 @@ static int do_ubi(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD
(
ubi
,
6
,
1
,
do_ubi
,
"ubi - ubi commands
\n
"
,
"part [nand|nor|onenand] [part]"
"part [nand|nor|onenand] [part]"
" - Show or set current partition
\n
"
"ubi info [l[ayout]]"
" - Display volume and ubi layout information
\n
"
...
...
cpu/mcf52x2/cpu_init.c
浏览文件 @
455ae7e8
...
...
@@ -131,7 +131,7 @@ void cpu_init_f(void)
mbar2_writeByte
(
MCFSIM_INTBASE
,
0x40
);
/* Base interrupts at 64 */
mbar2_writeByte
(
MCFSIM_SPURVEC
,
0x00
);
/*mbar2_writeLong(MCFSIM_IDECONFIG1, 0x00000020); *//* Enable a 1 cycle pre-drive cycle on CS1 */
/*mbar2_writeLong(MCFSIM_IDECONFIG1, 0x00000020); */
/* Enable a 1 cycle pre-drive cycle on CS1 */
/* FlexBus Chipselect */
init_fbcs
();
...
...
cpu/mpc86xx/start.S
浏览文件 @
455ae7e8
...
...
@@ -982,5 +982,3 @@ unlock_ram_in_cache:
blr
#endif
#endif
cpu/ppc4xx/cpu.c
浏览文件 @
455ae7e8
...
...
@@ -706,4 +706,3 @@ int cpu_eth_init(bd_t *bis)
#endif
return
0
;
}
cpu/ppc4xx/start.S
浏览文件 @
455ae7e8
...
...
@@ -727,7 +727,7 @@ _start:
ori
r2
,
r2
,
0xffff
mfdcr
r1
,
ISRAM1_DPC
and
r1
,
r1
,
r2
/*
Disable
parity
check
*/
mtdcr
ISRAM1_DPC
,
r1
mtdcr
ISRAM1_DPC
,
r1
mfdcr
r1
,
ISRAM1_PMEG
and
r1
,
r1
,
r2
/*
Disable
pwr
mgmt
*/
mtdcr
ISRAM1_PMEG
,
r1
...
...
drivers/i2c/soft_i2c.c
浏览文件 @
455ae7e8
...
...
@@ -434,4 +434,3 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len)
send_stop
();
return
(
failures
);
}
drivers/mtd/ubi/crc32.c
浏览文件 @
455ae7e8
...
...
@@ -97,7 +97,7 @@ u32 crc32_le(u32 crc, unsigned char const *p, size_t len)
# else
# define DO_CRC(x) crc = tab[ ((crc >> 24) ^ (x)) & 255] ^ (crc<<8)
# endif
//printf("Crc32_le crc=%x\n",crc);
/* printf("Crc32_le crc=%x\n",crc); */
crc
=
__cpu_to_le32
(
crc
);
/* Align it */
if
((((
long
)
b
)
&
3
&&
len
)){
...
...
drivers/mtd/ubi/io.c
浏览文件 @
455ae7e8
...
...
@@ -186,7 +186,7 @@ retry:
if
(
read
!=
len
&&
err
==
-
EBADMSG
)
{
ubi_assert
(
0
);
printk
(
"%s[%d] not here
\n
"
,
__func__
,
__LINE__
);
/
/ err = -EIO;
/
* err = -EIO; */
}
}
else
{
ubi_assert
(
len
==
read
);
...
...
drivers/mtd/ubi/vmt.c
浏览文件 @
455ae7e8
...
...
@@ -260,7 +260,7 @@ int ubi_create_volume(struct ubi_device *ubi, struct ubi_mkvol_req *req)
goto
out_unlock
;
}
/* Calculate how many eraseblocks are requested */
/* Calculate how many eraseblocks are requested */
vol
->
usable_leb_size
=
ubi
->
leb_size
-
ubi
->
leb_size
%
req
->
alignment
;
bytes
=
req
->
bytes
;
if
(
do_div
(
bytes
,
vol
->
usable_leb_size
))
...
...
include/configs/PMC440.h
浏览文件 @
455ae7e8
...
...
@@ -490,7 +490,7 @@
#endif
/* Memory Bank 1 (RESET) initialization */
#define CONFIG_SYS_EBC_PB1AP 0x7f817200 /
/0x03017200
#define CONFIG_SYS_EBC_PB1AP 0x7f817200
/
* 0x03017200 */
#define CONFIG_SYS_EBC_PB1CR (CONFIG_SYS_RESET_BASE | 0x1c000)
/* Memory Bank 4 (FPGA / 32Bit) initialization */
...
...
include/configs/afeb9260.h
浏览文件 @
455ae7e8
...
...
@@ -167,4 +167,3 @@
#endif
#endif
include/linux/crc32.h
浏览文件 @
455ae7e8
...
...
@@ -6,10 +6,10 @@
#define _LINUX_CRC32_H
#include <linux/types.h>
/
/#include <linux/bitrev.h>
/
* #include <linux/bitrev.h> */
extern
u32
crc32_le
(
u32
crc
,
unsigned
char
const
*
p
,
size_t
len
);
/
/extern u32 crc32_be(u32 crc, unsigned char const *p, size_t len);
/
* extern u32 crc32_be(u32 crc, unsigned char const *p, size_t len); */
#define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)data, length)
...
...
@@ -21,7 +21,7 @@ extern u32 crc32_le(u32 crc, unsigned char const *p, size_t len);
* is in bit nr 0], thus it must be reversed before use. Except for
* nics that bit swap the result internally...
*/
/
/#define ether_crc(length, data) bitrev32(crc32_le(~0, data, length))
/
/#define ether_crc_le(length, data) crc32_le(~0, data, length)
/
* #define ether_crc(length, data) bitrev32(crc32_le(~0, data, length)) */
/
* #define ether_crc_le(length, data) crc32_le(~0, data, length) */
#endif
/* _LINUX_CRC32_H */
include/linux/mtd/partitions.h
浏览文件 @
455ae7e8
...
...
@@ -76,9 +76,9 @@ struct device;
struct device_node;
int __devinit of_mtd_parse_partitions(struct device *dev,
struct mtd_info *mtd,
struct device_node *node,
struct mtd_partition **pparts);
struct mtd_info *mtd,
struct device_node *node,
struct mtd_partition **pparts);
#endif
#endif
include/linux/mtd/ubi.h
浏览文件 @
455ae7e8
...
...
@@ -21,7 +21,7 @@
#ifndef __LINUX_UBI_H__
#define __LINUX_UBI_H__
/
/#include <asm/ioctl.h>
/
* #include <asm/ioctl.h> */
#include <linux/types.h>
#include <mtd/ubi-user.h>
...
...
include/ubi_uboot.h
浏览文件 @
455ae7e8
...
...
@@ -56,7 +56,7 @@ do { \
#define ubi_sysfs_close(...) do { } while (0)
static
inline
int
is_power_of_2
(
unsigned
long
n
)
{
return
(
n
!=
0
&&
((
n
&
(
n
-
1
))
==
0
));
return
(
n
!=
0
&&
((
n
&
(
n
-
1
))
==
0
));
}
/* FIXME */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录