Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
950309c6
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,发现更多精彩内容 >>
提交
950309c6
编写于
1月 10, 2009
作者:
W
Wolfgang Denk
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
git://git.denx.de/u-boot-blackfin
上级
3dd9395a
032a1c93
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
93 addition
and
61 deletion
+93
-61
board/bf533-ezkit/Makefile
board/bf533-ezkit/Makefile
+3
-4
board/bf533-ezkit/config.mk
board/bf533-ezkit/config.mk
+8
-0
board/bf533-ezkit/u-boot.lds.S
board/bf533-ezkit/u-boot.lds.S
+13
-10
board/bf533-stamp/Makefile
board/bf533-stamp/Makefile
+3
-4
board/bf533-stamp/config.mk
board/bf533-stamp/config.mk
+8
-0
board/bf533-stamp/u-boot.lds.S
board/bf533-stamp/u-boot.lds.S
+11
-8
board/bf537-stamp/Makefile
board/bf537-stamp/Makefile
+3
-4
board/bf537-stamp/config.mk
board/bf537-stamp/config.mk
+6
-1
board/bf537-stamp/nand.c
board/bf537-stamp/nand.c
+3
-1
board/bf537-stamp/u-boot.lds.S
board/bf537-stamp/u-boot.lds.S
+11
-8
board/bf561-ezkit/Makefile
board/bf561-ezkit/Makefile
+3
-4
board/bf561-ezkit/config.mk
board/bf561-ezkit/config.mk
+8
-0
board/bf561-ezkit/u-boot.lds.S
board/bf561-ezkit/u-boot.lds.S
+13
-10
lib_blackfin/board.c
lib_blackfin/board.c
+0
-7
未找到文件。
board/bf533-ezkit/Makefile
浏览文件 @
950309c6
...
...
@@ -35,12 +35,11 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
)
SOBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
)
$(LIB)
:
$(obj).depend $(OBJS) $(SOBJS) u-boot.lds
$(LIB)
:
$(obj).depend $(OBJS) $(SOBJS)
$(obj)
u-boot.lds
$(AR)
$(ARFLAGS)
$@
$(OBJS)
$(SOBJS)
u-boot.lds
:
u-boot.lds.S
$(CPP)
$(CPPFLAGS)
-D__ASSEMBLY__
-P
-Ubfin
$^
>
$@
.tmp
mv
-f
$@
.tmp
$@
$(obj)u-boot.lds
:
u-boot.lds.S
$(CPP)
$(CPPFLAGS)
-D__ASSEMBLY__
-P
$^
>
$@
clean
:
rm
-f
$(SOBJS)
$(OBJS)
...
...
board/bf533-ezkit/config.mk
浏览文件 @
950309c6
#
# Copyright (c) 2005-2008 Analog Device Inc.
#
# (C) Copyright 2001
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
...
...
@@ -23,3 +25,9 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me
LDSCRIPT
=
$(obj)
board/
$(BOARDDIR)
/u-boot.lds
# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA
:=
--bits
16
--dma
8
LDR_FLAGS
+=
$
(
LDR_FLAGS-
$(CONFIG_BFIN_BOOT_MODE)
)
board/bf533-ezkit/u-boot.lds.S
浏览文件 @
950309c6
...
...
@@ -28,6 +28,8 @@
#include <config.h>
#include <asm/blackfin.h>
#undef ALIGN
#undef ENTRY
#undef bfin
/*
If
we
don
't actually load anything into L1 data, this will avoid
*
a
syntax
error
.
If
we
do
actually
load
something
into
L1
data
,
...
...
@@ -50,11 +52,12 @@ MEMORY
l1_data
:
ORIGIN
=
L1_DATA_B_SRAM
,
LENGTH
=
L1_DATA_B_SRAM_SIZE
}
ENTRY
(
_start
)
SECTIONS
{
.
text
:
{
cpu
/
blackfin
/
start.o
(
.
text
)
cpu
/
blackfin
/
start.o
(
.
text
.
text
.
*
)
#ifdef ENV_IS_EMBEDDED
/
*
WARNING
-
the
following
is
hand
-
optimized
to
fit
within
...
...
@@ -63,20 +66,20 @@ SECTIONS
*
it
linked
after
the
configuration
sector
.
*/
cpu
/
blackfin
/
traps.o
(
.
text
)
cpu
/
blackfin
/
interrupt.o
(
.
text
)
cpu
/
blackfin
/
serial.o
(
.
text
)
common
/
dlmalloc.o
(
.
text
)
lib_generic
/
crc32.o
(
.
text
)
lib_generic
/
zlib.o
(
.
text
)
board
/
bf533
-
ezkit
/
bf533
-
ezkit.o
(
.
text
)
cpu
/
blackfin
/
traps.o
(
.
text
.
text
.
*
)
cpu
/
blackfin
/
interrupt.o
(
.
text
.
text
.
*
)
cpu
/
blackfin
/
serial.o
(
.
text
.
text
.
*
)
common
/
dlmalloc.o
(
.
text
.
text
.
*
)
lib_generic
/
crc32.o
(
.
text
.
text
.
*
)
lib_generic
/
zlib.o
(
.
text
.
text
.
*
)
board
/
bf533
-
ezkit
/
bf533
-
ezkit.o
(
.
text
.
text
.
*
)
.
=
DEFINED
(
env_offset
)
?
env_offset
:
.
;
common
/
env_embedded
.
o
(
.
text
)
common
/
env_embedded
.
o
(
.
text
.
text
.
*
)
#endif
__initcode_start
=
.
;
cpu
/
blackfin
/
initcode.o
(
.
text
)
cpu
/
blackfin
/
initcode.o
(
.
text
.
text
.
*
)
__initcode_end
=
.
;
*(.
text
.
text
.
*)
...
...
board/bf533-stamp/Makefile
浏览文件 @
950309c6
...
...
@@ -35,12 +35,11 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
)
SOBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
)
$(LIB)
:
$(obj).depend $(OBJS) $(SOBJS) u-boot.lds
$(LIB)
:
$(obj).depend $(OBJS) $(SOBJS)
$(obj)
u-boot.lds
$(AR)
$(ARFLAGS)
$@
$(OBJS)
$(SOBJS)
u-boot.lds
:
u-boot.lds.S
$(CPP)
$(CPPFLAGS)
-D__ASSEMBLY__
-P
-Ubfin
$^
>
$@
.tmp
mv
-f
$@
.tmp
$@
$(obj)u-boot.lds
:
u-boot.lds.S
$(CPP)
$(CPPFLAGS)
-D__ASSEMBLY__
-P
$^
>
$@
clean
:
rm
-f
$(SOBJS)
$(OBJS)
...
...
board/bf533-stamp/config.mk
浏览文件 @
950309c6
#
# Copyright (c) 2005-2008 Analog Device Inc.
#
# (C) Copyright 2001
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
...
...
@@ -23,3 +25,9 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me
LDSCRIPT
=
$(obj)
board/
$(BOARDDIR)
/u-boot.lds
# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA
:=
--bits
16
--dma
8
LDR_FLAGS
+=
$
(
LDR_FLAGS-
$(CONFIG_BFIN_BOOT_MODE)
)
board/bf533-stamp/u-boot.lds.S
浏览文件 @
950309c6
...
...
@@ -28,6 +28,8 @@
#include <config.h>
#include <asm/blackfin.h>
#undef ALIGN
#undef ENTRY
#undef bfin
/*
If
we
don
't actually load anything into L1 data, this will avoid
*
a
syntax
error
.
If
we
do
actually
load
something
into
L1
data
,
...
...
@@ -50,11 +52,12 @@ MEMORY
l1_data
:
ORIGIN
=
L1_DATA_B_SRAM
,
LENGTH
=
L1_DATA_B_SRAM_SIZE
}
ENTRY
(
_start
)
SECTIONS
{
.
text
:
{
cpu
/
blackfin
/
start.o
(
.
text
)
cpu
/
blackfin
/
start.o
(
.
text
.
text
.
*
)
#ifdef ENV_IS_EMBEDDED
/
*
WARNING
-
the
following
is
hand
-
optimized
to
fit
within
...
...
@@ -63,18 +66,18 @@ SECTIONS
*
it
linked
after
the
configuration
sector
.
*/
cpu
/
blackfin
/
traps.o
(
.
text
)
cpu
/
blackfin
/
interrupt.o
(
.
text
)
cpu
/
blackfin
/
serial.o
(
.
text
)
common
/
dlmalloc.o
(
.
text
)
lib_generic
/
crc32.o
(
.
text
)
cpu
/
blackfin
/
traps.o
(
.
text
.
text
.
*
)
cpu
/
blackfin
/
interrupt.o
(
.
text
.
text
.
*
)
cpu
/
blackfin
/
serial.o
(
.
text
.
text
.
*
)
common
/
dlmalloc.o
(
.
text
.
text
.
*
)
lib_generic
/
crc32.o
(
.
text
.
text
.
*
)
.
=
DEFINED
(
env_offset
)
?
env_offset
:
.
;
common
/
env_embedded
.
o
(
.
text
)
common
/
env_embedded
.
o
(
.
text
.
text
.
*
)
#endif
__initcode_start
=
.
;
cpu
/
blackfin
/
initcode.o
(
.
text
)
cpu
/
blackfin
/
initcode.o
(
.
text
.
text
.
*
)
__initcode_end
=
.
;
*(.
text
.
text
.
*)
...
...
board/bf537-stamp/Makefile
浏览文件 @
950309c6
...
...
@@ -35,12 +35,11 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
)
SOBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
)
$(LIB)
:
$(obj).depend $(OBJS) $(SOBJS) u-boot.lds
$(LIB)
:
$(obj).depend $(OBJS) $(SOBJS)
$(obj)
u-boot.lds
$(AR)
$(ARFLAGS)
$@
$(OBJS)
$(SOBJS)
u-boot.lds
:
u-boot.lds.S
$(CPP)
$(CPPFLAGS)
-D__ASSEMBLY__
-P
-Ubfin
$^
>
$@
.tmp
mv
-f
$@
.tmp
$@
$(obj)u-boot.lds
:
u-boot.lds.S
$(CPP)
$(CPPFLAGS)
-D__ASSEMBLY__
-P
$^
>
$@
clean
:
rm
-f
$(SOBJS)
$(OBJS)
...
...
board/bf537-stamp/config.mk
浏览文件 @
950309c6
#
# Copyright (c) 2005-2008 Analog Device Inc.
#
# (C) Copyright 2001
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
...
...
@@ -24,6 +26,9 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me
LDSCRIPT
=
$(obj)
board/
$(BOARDDIR)
/u-boot.lds
# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_UART
:=
--port
g
--gpio
6
LDR_FLAGS-BFIN_BOOT_PARA
:=
--bits
16
--dma
8
LDR_FLAGS-BFIN_BOOT_UART
:=
--port
g
--gpio
6
LDR_FLAGS
+=
$
(
LDR_FLAGS-
$(CONFIG_BFIN_BOOT_MODE)
)
board/bf537-stamp/nand.c
浏览文件 @
950309c6
...
...
@@ -87,7 +87,7 @@ int bfin_device_ready(struct mtd_info *mtd)
* Members with a "?" were not set in the merged testing-NAND branch,
* so they are not set here either.
*/
void
board_nand_init
(
struct
nand_chip
*
nand
)
int
board_nand_init
(
struct
nand_chip
*
nand
)
{
*
PORT
(
CONFIG_NAND_GPIO_PORT
,
_FER
)
&=
~
BFIN_NAND_READY
;
*
PORT
(
CONFIG_NAND_GPIO_PORT
,
IO_DIR
)
&=
~
BFIN_NAND_READY
;
...
...
@@ -97,5 +97,7 @@ void board_nand_init(struct nand_chip *nand)
nand
->
ecc
.
mode
=
NAND_ECC_SOFT
;
nand
->
dev_ready
=
bfin_device_ready
;
nand
->
chip_delay
=
30
;
return
0
;
}
#endif
board/bf537-stamp/u-boot.lds.S
浏览文件 @
950309c6
...
...
@@ -28,6 +28,8 @@
#include <config.h>
#include <asm/blackfin.h>
#undef ALIGN
#undef ENTRY
#undef bfin
/*
If
we
don
't actually load anything into L1 data, this will avoid
*
a
syntax
error
.
If
we
do
actually
load
something
into
L1
data
,
...
...
@@ -50,11 +52,12 @@ MEMORY
l1_data
:
ORIGIN
=
L1_DATA_B_SRAM
,
LENGTH
=
L1_DATA_B_SRAM_SIZE
}
ENTRY
(
_start
)
SECTIONS
{
.
text
:
{
cpu
/
blackfin
/
start.o
(
.
text
)
cpu
/
blackfin
/
start.o
(
.
text
.
text
.
*
)
#ifdef ENV_IS_EMBEDDED
/
*
WARNING
-
the
following
is
hand
-
optimized
to
fit
within
...
...
@@ -63,18 +66,18 @@ SECTIONS
*
it
linked
after
the
configuration
sector
.
*/
cpu
/
blackfin
/
traps.o
(
.
text
)
cpu
/
blackfin
/
interrupt.o
(
.
text
)
cpu
/
blackfin
/
serial.o
(
.
text
)
common
/
dlmalloc.o
(
.
text
)
lib_generic
/
crc32.o
(
.
text
)
cpu
/
blackfin
/
traps.o
(
.
text
.
text
.
*
)
cpu
/
blackfin
/
interrupt.o
(
.
text
.
text
.
*
)
cpu
/
blackfin
/
serial.o
(
.
text
.
text
.
*
)
common
/
dlmalloc.o
(
.
text
.
text
.
*
)
lib_generic
/
crc32.o
(
.
text
.
text
.
*
)
.
=
DEFINED
(
env_offset
)
?
env_offset
:
.
;
common
/
env_embedded
.
o
(
.
text
)
common
/
env_embedded
.
o
(
.
text
.
text
.
*
)
#endif
__initcode_start
=
.
;
cpu
/
blackfin
/
initcode.o
(
.
text
)
cpu
/
blackfin
/
initcode.o
(
.
text
.
text
.
*
)
__initcode_end
=
.
;
*(.
text
.
text
.
*)
...
...
board/bf561-ezkit/Makefile
浏览文件 @
950309c6
...
...
@@ -35,12 +35,11 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
)
SOBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
)
$(LIB)
:
$(obj).depend $(OBJS) $(SOBJS) u-boot.lds
$(LIB)
:
$(obj).depend $(OBJS) $(SOBJS)
$(obj)
u-boot.lds
$(AR)
$(ARFLAGS)
$@
$(OBJS)
$(SOBJS)
u-boot.lds
:
u-boot.lds.S
$(CPP)
$(CPPFLAGS)
-D__ASSEMBLY__
-P
-Ubfin
$^
>
$@
.tmp
mv
-f
$@
.tmp
$@
$(obj)u-boot.lds
:
u-boot.lds.S
$(CPP)
$(CPPFLAGS)
-D__ASSEMBLY__
-P
$^
>
$@
clean
:
rm
-f
$(SOBJS)
$(OBJS)
...
...
board/bf561-ezkit/config.mk
浏览文件 @
950309c6
#
# Copyright (c) 2005-2008 Analog Device Inc.
#
# (C) Copyright 2001
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
...
...
@@ -23,3 +25,9 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me
LDSCRIPT
=
$(obj)
board/
$(BOARDDIR)
/u-boot.lds
# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA
:=
--bits
16
LDR_FLAGS
+=
$
(
LDR_FLAGS-
$(CONFIG_BFIN_BOOT_MODE)
)
board/bf561-ezkit/u-boot.lds.S
浏览文件 @
950309c6
...
...
@@ -28,6 +28,8 @@
#include <config.h>
#include <asm/blackfin.h>
#undef ALIGN
#undef ENTRY
#undef bfin
/*
If
we
don
't actually load anything into L1 data, this will avoid
*
a
syntax
error
.
If
we
do
actually
load
something
into
L1
data
,
...
...
@@ -50,11 +52,12 @@ MEMORY
l1_data
:
ORIGIN
=
L1_DATA_B_SRAM
,
LENGTH
=
L1_DATA_B_SRAM_SIZE
}
ENTRY
(
_start
)
SECTIONS
{
.
text
:
{
cpu
/
blackfin
/
start.o
(
.
text
)
cpu
/
blackfin
/
start.o
(
.
text
.
text
.
*
)
#ifdef ENV_IS_EMBEDDED
/
*
WARNING
-
the
following
is
hand
-
optimized
to
fit
within
...
...
@@ -63,20 +66,20 @@ SECTIONS
*
it
linked
after
the
configuration
sector
.
*/
cpu
/
blackfin
/
traps.o
(
.
text
)
cpu
/
blackfin
/
interrupt.o
(
.
text
)
cpu
/
blackfin
/
serial.o
(
.
text
)
common
/
dlmalloc.o
(
.
text
)
lib_generic
/
crc32.o
(
.
text
)
lib_generic
/
zlib.o
(
.
text
)
board
/
bf561
-
ezkit
/
bf561
-
ezkit.o
(
.
text
)
cpu
/
blackfin
/
traps.o
(
.
text
.
text
.
*
)
cpu
/
blackfin
/
interrupt.o
(
.
text
.
text
.
*
)
cpu
/
blackfin
/
serial.o
(
.
text
.
text
.
*
)
common
/
dlmalloc.o
(
.
text
.
text
.
*
)
lib_generic
/
crc32.o
(
.
text
.
text
.
*
)
lib_generic
/
zlib.o
(
.
text
.
text
.
*
)
board
/
bf561
-
ezkit
/
bf561
-
ezkit.o
(
.
text
.
text
.
*
)
.
=
DEFINED
(
env_offset
)
?
env_offset
:
.
;
common
/
env_embedded
.
o
(
.
text
)
common
/
env_embedded
.
o
(
.
text
.
text
.
*
)
#endif
__initcode_start
=
.
;
cpu
/
blackfin
/
initcode.o
(
.
text
)
cpu
/
blackfin
/
initcode.o
(
.
text
.
text
.
*
)
__initcode_end
=
.
;
*(.
text
.
text
.
*)
...
...
lib_blackfin/board.c
浏览文件 @
950309c6
...
...
@@ -374,13 +374,6 @@ void board_init_r(gd_t * id, ulong dest_addr)
mem_malloc_init
();
malloc_bin_reloc
();
#ifdef CONFIG_SPI
# if ! defined(CONFIG_ENV_IS_IN_EEPROM)
spi_init_f
();
# endif
spi_init_r
();
#endif
#ifdef CONFIG_CMD_NAND
puts
(
"NAND: "
);
nand_init
();
/* go init the NAND */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录