Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
710b9938
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,发现更多精彩内容 >>
提交
710b9938
编写于
12月 21, 2010
作者:
M
Mike Frysinger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
crc32: make command optional
Signed-off-by:
N
Mike Frysinger
<
vapier@gentoo.org
>
上级
a641b979
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
1 deletion
+11
-1
README
README
+1
-0
common/cmd_mem.c
common/cmd_mem.c
+8
-0
include/config_cmd_defaults.h
include/config_cmd_defaults.h
+2
-1
未找到文件。
README
浏览文件 @
710b9938
...
...
@@ -625,6 +625,7 @@ The following options need to be configured:
CONFIG_CMD_BOOTD bootd
CONFIG_CMD_CACHE * icache, dcache
CONFIG_CMD_CONSOLE coninfo
CONFIG_CMD_CRC32 * crc32
CONFIG_CMD_DATE * support for RTC, date/time...
CONFIG_CMD_DHCP * DHCP support
CONFIG_CMD_DIAG * Diagnostics
...
...
common/cmd_mem.c
浏览文件 @
710b9938
...
...
@@ -1077,6 +1077,8 @@ mod_mem(cmd_tbl_t *cmdtp, int incrflag, int flag, int argc, char * const argv[])
return
0
;
}
#ifdef CONFIG_CMD_CRC32
#ifndef CONFIG_CRC32_VERIFY
int
do_mem_crc
(
cmd_tbl_t
*
cmdtp
,
int
flag
,
int
argc
,
char
*
const
argv
[])
...
...
@@ -1161,6 +1163,8 @@ usage:
}
#endif
/* CONFIG_CRC32_VERIFY */
#endif
#ifdef CONFIG_CMD_MD5SUM
int
do_md5sum
(
cmd_tbl_t
*
cmdtp
,
int
flag
,
int
argc
,
char
*
const
argv
[])
{
...
...
@@ -1277,6 +1281,8 @@ U_BOOT_CMD(
"[.b, .w, .l] addr1 addr2 count"
);
#ifdef CONFIG_CMD_CRC32
#ifndef CONFIG_CRC32_VERIFY
U_BOOT_CMD
(
...
...
@@ -1296,6 +1302,8 @@ U_BOOT_CMD(
#endif
/* CONFIG_CRC32_VERIFY */
#endif
U_BOOT_CMD
(
base
,
2
,
1
,
do_mem_base
,
"print or set address offset"
,
...
...
include/config_cmd_defaults.h
浏览文件 @
710b9938
/*
* config_cmd_defaults.h - sane defaults for everyone
*
* Copyright (c) 2010 Analog Devices Inc.
* Copyright (c) 2010
-2011
Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
...
...
@@ -10,6 +10,7 @@
#define _CONFIG_CMD_DEFAULTS_H_
#define CONFIG_CMD_BOOTM 1
#define CONFIG_CMD_CRC32 1
#define CONFIG_CMD_EXPORTENV 1
#define CONFIG_CMD_GO 1
#define CONFIG_CMD_IMPORTENV 1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录