Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
9edd580e
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,发现更多精彩内容 >>
提交
9edd580e
编写于
8月 18, 2007
作者:
W
Wolfgang Denk
浏览文件
操作
浏览文件
下载
差异文件
Merge with
git+ssh://gemini_vpn/home/wd/git/u-boot/master
上级
fc997013
79f240f7
变更
12
显示空白变更内容
内联
并排
Showing
12 changed file
with
9 addition
and
19 deletion
+9
-19
board/lwmon5/sdram.c
board/lwmon5/sdram.c
+0
-2
board/netstal/hcu5/sdram.c
board/netstal/hcu5/sdram.c
+0
-2
cpu/ppc4xx/44x_spd_ddr2.c
cpu/ppc4xx/44x_spd_ddr2.c
+0
-2
drivers/pci.c
drivers/pci.c
+3
-1
include/configs/TQM85xx.h
include/configs/TQM85xx.h
+0
-1
include/configs/hcu5.h
include/configs/hcu5.h
+0
-1
include/configs/katmai.h
include/configs/katmai.h
+0
-1
include/configs/luan.h
include/configs/luan.h
+0
-1
include/configs/lwmon5.h
include/configs/lwmon5.h
+0
-1
include/configs/p3mx.h
include/configs/p3mx.h
+0
-1
include/configs/yucca.h
include/configs/yucca.h
+0
-1
lib_ppc/board.c
lib_ppc/board.c
+6
-5
未找到文件。
board/lwmon5/sdram.c
浏览文件 @
9edd580e
...
...
@@ -57,7 +57,6 @@
void
dcbz_area
(
u32
start_address
,
u32
num_bytes
);
void
dflush
(
void
);
#ifdef CONFIG_ADD_RAM_INFO
static
u32
is_ecc_enabled
(
void
)
{
u32
val
;
...
...
@@ -87,7 +86,6 @@ void board_add_ram_info(int use_default)
val
=
DDR0_03_CASLAT_DECODE
(
val
);
printf
(
", CL%d)"
,
val
);
}
#endif
static
int
wait_for_dlllock
(
void
)
{
...
...
board/netstal/hcu5/sdram.c
浏览文件 @
9edd580e
...
...
@@ -70,7 +70,6 @@ void dflush(void);
void
program_tlb
(
u32
phys_addr
,
u32
virt_addr
,
u32
size
,
u32
tlb_word2_i_value
);
#ifdef CONFIG_ADD_RAM_INFO
void
board_add_ram_info
(
int
use_default
)
{
PPC440_SYS_INFO
board_cfg
;
...
...
@@ -99,7 +98,6 @@ void board_add_ram_info(int use_default)
val
=
DDR0_03_CASLAT_DECODE
(
val
);
printf
(
", CL%d)"
,
val
);
}
#endif
/*--------------------------------------------------------------------
* wait_for_dlllock.
...
...
cpu/ppc4xx/44x_spd_ddr2.c
浏览文件 @
9edd580e
...
...
@@ -621,7 +621,6 @@ static void get_spd_info(unsigned long *dimm_populated,
}
}
#ifdef CONFIG_ADD_RAM_INFO
void
board_add_ram_info
(
int
use_default
)
{
PPC440_SYS_INFO
board_cfg
;
...
...
@@ -642,7 +641,6 @@ void board_add_ram_info(int use_default)
val
=
(
val
&
SDRAM_MMODE_DCL_MASK
)
>>
4
;
printf
(
", CL%d)"
,
val
);
}
#endif
/*------------------------------------------------------------------
* For the memory DIMMs installed, this routine verifies that they
...
...
drivers/pci.c
浏览文件 @
9edd580e
...
...
@@ -82,8 +82,10 @@ int pci_hose_read_config_##size##_via_dword(struct pci_controller *hose,\
{ \
u32 val32; \
\
if (pci_hose_read_config_dword(hose, dev, offset & 0xfc, &val32) < 0)\
if (pci_hose_read_config_dword(hose, dev, offset & 0xfc, &val32) < 0) { \
*val = -1; \
return -1; \
} \
\
*val = (val32 >> ((offset & (int)off_mask) * 8)); \
\
...
...
include/configs/TQM85xx.h
浏览文件 @
9edd580e
...
...
@@ -94,7 +94,6 @@
*/
#define CFG_DDR_SDRAM_BASE 0x00000000
/* DDR is system memory */
#define CFG_SDRAM_BASE CFG_DDR_SDRAM_BASE
#define CONFIG_ADD_RAM_INFO 1
/* print additional info*/
#if defined(CONFIG_TQM8540) || defined(CONFIG_TQM8560)
/* TQM8540 & 8560 need DLL-override */
...
...
include/configs/hcu5.h
浏览文件 @
9edd580e
...
...
@@ -43,7 +43,6 @@
#define CONFIG_BOARD_EARLY_INIT_F 1
/* Call board_early_init_f */
#define CONFIG_MISC_INIT_R 1
/* Call misc_init_r */
#define CONFIG_ADD_RAM_INFO 1
/* Print additional info */
/*-----------------------------------------------------------------------
* Base addresses -- Note these are effective addresses where the
...
...
include/configs/katmai.h
浏览文件 @
9edd580e
...
...
@@ -42,7 +42,6 @@
#define CONFIG_BOARD_EARLY_INIT_F 1
/* Call board_pre_init */
#define CONFIG_MISC_INIT_F 1
/* Use misc_init_f() */
#define CONFIG_ADD_RAM_INFO 1
/* Print additional info */
#undef CONFIG_SHOW_BOOT_PROGRESS
/*-----------------------------------------------------------------------
...
...
include/configs/luan.h
浏览文件 @
9edd580e
...
...
@@ -39,7 +39,6 @@
#define CONFIG_BOARD_EARLY_INIT_F 1
/* call board_early_init_f() */
#define CONFIG_MISC_INIT_R 1
/* call misc_init_r() */
#define CONFIG_ADD_RAM_INFO 1
/* Print additional info */
/*-----------------------------------------------------------------------
* Base addresses -- Note these are effective addresses where the
...
...
include/configs/lwmon5.h
浏览文件 @
9edd580e
...
...
@@ -35,7 +35,6 @@
#define CONFIG_BOARD_EARLY_INIT_F 1
/* Call board_early_init_f */
#define CONFIG_MISC_INIT_R 1
/* Call misc_init_r */
#define CONFIG_ADD_RAM_INFO 1
/* Print additional info */
/*-----------------------------------------------------------------------
* Base addresses -- Note these are effective addresses where the
...
...
include/configs/p3mx.h
浏览文件 @
9edd580e
...
...
@@ -60,7 +60,6 @@
#define CONFIG_BOARD_EARLY_INIT_F 1
/* Call board_early_init_f */
#define CONFIG_BOARD_EARLY_INIT_R 1
/* Call board_early_init_f */
#define CONFIG_MISC_INIT_R 1
/* Call misc_init_r() */
#define CONFIG_ADD_RAM_INFO 1
/* Print additional info */
/*-----------------------------------------------------------------------
* Base addresses -- Note these are effective addresses where the
...
...
include/configs/yucca.h
浏览文件 @
9edd580e
...
...
@@ -46,7 +46,6 @@
#define EXTCLK_83 83333333
#define CONFIG_MISC_INIT_F 1
/* Use misc_init_f() */
#define CONFIG_ADD_RAM_INFO 1
/* Print additional info */
#undef CONFIG_SHOW_BOOT_PROGRESS
#undef CONFIG_STRESS
...
...
lib_ppc/board.c
浏览文件 @
9edd580e
...
...
@@ -209,9 +209,12 @@ static int init_baudrate (void)
/***********************************************************************/
#ifdef CONFIG_ADD_RAM_INFO
void
board_add_ram_info
(
int
);
#endif
void
__board_add_ram_info
(
int
use_default
)
{
/* please define platform specific board_add_ram_info() */
}
void
board_add_ram_info
(
int
)
__attribute__
((
weak
,
alias
(
"__board_add_ram_info"
)));
static
int
init_func_ram
(
void
)
{
...
...
@@ -224,9 +227,7 @@ static int init_func_ram (void)
if
((
gd
->
ram_size
=
initdram
(
board_type
))
>
0
)
{
print_size
(
gd
->
ram_size
,
""
);
#ifdef CONFIG_ADD_RAM_INFO
board_add_ram_info
(
0
);
#endif
putc
(
'\n'
);
return
(
0
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录