Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
94abd7c0
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,发现更多精彩内容 >>
提交
94abd7c0
编写于
4月 04, 2007
作者:
W
Wolfgang Denk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Minor cleanup.
上级
aea03c4e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
146 addition
and
32 deletion
+146
-32
CHANGELOG
CHANGELOG
+118
-0
board/mpc8360emds/config.mk
board/mpc8360emds/config.mk
+0
-1
include/fdt.h
include/fdt.h
+16
-16
include/libfdt.h
include/libfdt.h
+5
-5
libfdt/Makefile
libfdt/Makefile
+1
-2
libfdt/fdt_ro.c
libfdt/fdt_ro.c
+6
-8
未找到文件。
CHANGELOG
浏览文件 @
94abd7c0
commit aea03c4e8c3a21ce43d3faf48a6e6d474c8bdf73
Author: Gerald Van Baren <vanbaren@cideas.com>
Date: Sat Mar 31 14:30:53 2007 -0400
Fix some minor whitespace violations.
commit 213bf8c822de8eecaf69860684469cdaba2e9e6a
Author: Gerald Van Baren <vanbaren@cideas.com>
Date: Sat Mar 31 12:23:51 2007 -0400
Add a flattened device tree (fdt) command (2 of 2)
Modifications to the existing code to support the new fdt command.
commit 781e09ee6e3e3e392ab362c1f0ef1068adc76e3e
Author: Gerald Van Baren <vanbaren@cideas.com>
Date: Sat Mar 31 12:22:10 2007 -0400
Add a flattened device tree (fdt) command (1 of 2)
The fdt command uses David Gibson's libfdt library to manipulate as well
as print the flattened device tree. This patch is the new command,
the second part is the modifications to the existing code.
commit 3af0d587d93e0be5f96e1b30fa41e662f8b0803e
Author: Gerald Van Baren <vanbaren@cideas.com>
Date: Sat Mar 31 12:13:43 2007 -0400
libfdt: Enhanced and published fdt_next_tag()
Enhanced the formerly private function _fdt_next_tag() to allow stepping
through the tree, used to produce a human-readable dump, and made
it part of the published interface.
Also added some comments.
commit fa3a74cec73dfd06a5ae35a9a3368200273aaa71
Author: Gerald Van Baren <vanbaren@cideas.com>
Date: Sat Mar 31 12:05:39 2007 -0400
libfdt: Customizations for use by u-boot.
Changes to David Gibson's original source to fit into u-boot's
environment. No functionality changes.
commit 35748177c64a4a83a00057e93bb33e40278a2a96
Author: Gerald Van Baren <vanbaren@cideas.com>
Date: Sat Mar 31 12:00:56 2007 -0400
libfdt: Import libfdt source (2 of 2)
This adds the applicable libfdt source files (unmodified) and a README
to explain where the source came from.
commit 7cd5da0fe877e7171a4cdd44880bce783132871a
Author: Gerald Van Baren <vanbaren@cideas.com>
Date: Sat Mar 31 11:59:59 2007 -0400
libfdt: Import libfdt source (1 of 2)
This adds the applicable libfdt source files (unmodified) and a README
to explain where the source came from.
commit 6eb1df835191d8ce4b81d5af40fa8e0fbe78e997
Author: Jon Loeliger <jdl@freescale.com>
Date: Tue Dec 12 11:02:20 2006 -0600
Fix 8641HPCN problem with ld version 2.16
(Dot outside sections problem).
This fix is in the spirit of 807d5d7319330e336ab34a5623c5e0d73b87d540.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
commit 9964a4dd0d4ef5a037febaebf1aa494b1a72991c
Author: Haiying Wang <haiying.wang@freescale.com>
Date: Thu Dec 7 10:35:55 2006 -0600
Set Rev 2.x 86xx PIC in mixed mode.
Prevent false interrupt from hanging Linux as MSR[EE] is set
to enable interrupts by changing the PIC out of the default
pass through mode into mixed mode.
Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
commit 5a58a73ceb0a4059c42ef64cedbc1a45e0aaa00e
Author: Jason Jin <jason.jin@freescale.com>
Date: Thu Dec 7 10:32:35 2006 -0600
Add flash cmd function to 8641HPCN ramboot
Also fixes some commmand for 8641 HPCN ramboot case.
Signed-off-by: Jason Jin <jason.jin@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
commit 2ccceacc04b009d923afb7c26189ba2f8a2a5d46
Author: Ed Swarthout <ed.swarthout@freescale.com>
Date: Thu Dec 7 10:34:14 2006 -0600
Add support for 8641 Rev 2 silicon.
Without this patch, I am unable to get to the prompt on rev 2 silicon.
Only set ddrioovcr for rev1.
Signed-off-by: Ed Swarthout<ed.swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
commit 44ba464b99001f8bd1c456a1e9d59726252f707a
Author: Wolfgang Denk <wd@denx.de>
Date: Thu Mar 22 00:13:12 2007 +0100
Code cleanup / re-insert previous Copyright entries.
Signed-off-by: Wolfgang Denk <wd@denx.de>
commit 2a8dfe08359a1b663418b2faa1da1d7bce34d302
Author: Wolfgang Denk <wd@denx.de>
Date: Wed Mar 21 23:26:15 2007 +0100
...
...
board/mpc8360emds/config.mk
浏览文件 @
94abd7c0
...
...
@@ -31,4 +31,3 @@ TEXT_BASE = 0xFE000000
# Additional board-specific libraries
#
BOARDLIBS
=
libfdt/libfdt.a
include/fdt.h
浏览文件 @
94abd7c0
...
...
@@ -4,22 +4,22 @@
#ifndef __ASSEMBLY__
struct
fdt_header
{
uint32_t
magic
;
/* magic word FDT_MAGIC */
uint32_t
totalsize
;
/* total size of DT block */
uint32_t
off_dt_struct
;
/* offset to structure */
uint32_t
off_dt_strings
;
/* offset to strings */
uint32_t
off_mem_rsvmap
;
/* offset to memory reserve map */
uint32_t
version
;
/* format version */
uint32_t
last_comp_version
;
/* last compatible version */
/* version 2 fields below */
uint32_t
boot_cpuid_phys
;
/* Which physical CPU id we're
uint32_t
magic
;
/* magic word FDT_MAGIC */
uint32_t
totalsize
;
/* total size of DT block */
uint32_t
off_dt_struct
;
/* offset to structure */
uint32_t
off_dt_strings
;
/* offset to strings */
uint32_t
off_mem_rsvmap
;
/* offset to memory reserve map */
uint32_t
version
;
/* format version */
uint32_t
last_comp_version
;
/* last compatible version */
/* version 2 fields below */
uint32_t
boot_cpuid_phys
;
/* Which physical CPU id we're
booting on */
/* version 3 fields below */
uint32_t
size_dt_strings
;
/* size of the strings block */
uint32_t
size_dt_strings
;
/* size of the strings block */
/* version 17 fields below */
uint32_t
size_dt_struct
;
/* size of the structure block */
uint32_t
size_dt_struct
;
/* size of the structure block */
};
struct
fdt_reserve_entry
{
...
...
@@ -41,12 +41,12 @@ struct fdt_property {
#endif
/* !__ASSEMBLY */
#define FDT_MAGIC 0xd00dfeed
/* 4: version, 4: total size */
#define FDT_MAGIC 0xd00dfeed
/* 4: version, 4: total size */
#define FDT_TAGSIZE sizeof(uint32_t)
#define FDT_BEGIN_NODE 0x1
/* Start node: full name */
#define FDT_END_NODE 0x2
/* End node */
#define FDT_PROP 0x3
/* Property: name off,
#define FDT_BEGIN_NODE 0x1
/* Start node: full name */
#define FDT_END_NODE 0x2
/* End node */
#define FDT_PROP 0x3
/* Property: name off,
size, content */
#define FDT_NOP 0x4
/* nop */
#define FDT_END 0x9
...
...
include/libfdt.h
浏览文件 @
94abd7c0
...
...
@@ -46,15 +46,15 @@
#define fdt_get_header(fdt, field) \
(fdt32_to_cpu(((struct fdt_header *)(fdt))->field))
#define fdt_magic(fdt)
(fdt_get_header(fdt, magic))
#define fdt_magic(fdt) (fdt_get_header(fdt, magic))
#define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize))
#define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct))
#define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings))
#define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap))
#define fdt_version(fdt) (fdt_get_header(fdt, version))
#define fdt_last_comp_version(fdt)
(fdt_get_header(fdt, last_comp_version))
#define fdt_boot_cpuid_phys(fdt)
(fdt_get_header(fdt, boot_cpuid_phys))
#define fdt_size_dt_strings(fdt)
(fdt_get_header(fdt, size_dt_strings))
#define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version))
#define fdt_boot_cpuid_phys(fdt) (fdt_get_header(fdt, boot_cpuid_phys))
#define fdt_size_dt_strings(fdt) (fdt_get_header(fdt, size_dt_strings))
#define fdt_size_dt_struct(fdt) (fdt_get_header(fdt, size_dt_struct))
#define fdt_set_header(fdt, field, val) \
...
...
@@ -82,7 +82,7 @@ void *fdt_getprop(const void *fdt, int nodeoffset,
const
char
*
name
,
int
*
lenp
);
uint32_t
fdt_next_tag
(
const
void
*
fdt
,
int
offset
,
int
*
nextoffset
,
char
**
namep
);
int
*
nextoffset
,
char
**
namep
);
/* Write-in-place functions */
int
fdt_setprop_inplace
(
void
*
fdt
,
int
nodeoffset
,
const
char
*
name
,
...
...
libfdt/Makefile
浏览文件 @
94abd7c0
...
...
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB
=
$(obj)
libfdt.a
SOBJS
=
SOBJS
=
COBJS
=
fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o
...
...
@@ -44,4 +44,3 @@ include $(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
libfdt/fdt_ro.c
浏览文件 @
94abd7c0
...
...
@@ -23,12 +23,11 @@
#include "libfdt_internal.h"
#define CHECK_HEADER(fdt) \
{ \
int err; \
if ((err = _fdt_check_header(fdt)) != 0) \
return err; \
}
#define CHECK_HEADER(fdt) { \
int err; \
if ((err = _fdt_check_header(fdt)) != 0) \
return err; \
}
static
int
offset_streq
(
const
void
*
fdt
,
int
offset
,
const
char
*
s
,
int
len
)
...
...
@@ -255,7 +254,7 @@ struct fdt_property *fdt_get_property(const void *fdt,
}
while
(
level
>=
0
);
err
=
-
FDT_ERR_NOTFOUND
;
fail:
fail:
if
(
lenp
)
*
lenp
=
err
;
return
NULL
;
...
...
@@ -330,4 +329,3 @@ uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset, char **namep
return
tag
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录