Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
32049b40
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,发现更多精彩内容 >>
提交
32049b40
编写于
4月 02, 2009
作者:
K
Kumar Gala
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fsl_pci: Move prototypes into fsl_pci.h and remove explicit externs
Signed-off-by:
N
Kumar Gala
<
galak@kernel.crashing.org
>
上级
c8514622
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
9 addition
and
83 deletion
+9
-83
board/atum8548/atum8548.c
board/atum8548/atum8548.c
+0
-7
board/freescale/mpc8536ds/mpc8536ds.c
board/freescale/mpc8536ds/mpc8536ds.c
+0
-6
board/freescale/mpc8544ds/mpc8544ds.c
board/freescale/mpc8544ds/mpc8544ds.c
+0
-6
board/freescale/mpc8548cds/mpc8548cds.c
board/freescale/mpc8548cds/mpc8548cds.c
+0
-6
board/freescale/mpc8568mds/mpc8568mds.c
board/freescale/mpc8568mds/mpc8568mds.c
+0
-6
board/freescale/mpc8569mds/mpc8569mds.c
board/freescale/mpc8569mds/mpc8569mds.c
+0
-6
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/mpc8572ds/mpc8572ds.c
+0
-6
board/freescale/mpc8610hpcd/mpc8610hpcd.c
board/freescale/mpc8610hpcd/mpc8610hpcd.c
+0
-6
board/freescale/mpc8641hpcn/mpc8641hpcn.c
board/freescale/mpc8641hpcn/mpc8641hpcn.c
+0
-6
board/sbc8548/sbc8548.c
board/sbc8548/sbc8548.c
+0
-6
board/sbc8641d/sbc8641d.c
board/sbc8641d/sbc8641d.c
+0
-6
board/tqc/tqm85xx/tqm85xx.c
board/tqc/tqm85xx/tqm85xx.c
+0
-6
board/xes/common/fsl_85xx_pci.c
board/xes/common/fsl_85xx_pci.c
+0
-7
include/asm-ppc/fsl_pci.h
include/asm-ppc/fsl_pci.h
+9
-3
未找到文件。
board/atum8548/atum8548.c
浏览文件 @
32049b40
...
...
@@ -172,9 +172,6 @@ static struct pci_controller pcie1_hose;
int
first_free_busno
=
0
;
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
void
pci_init_board
(
void
)
{
...
...
@@ -322,7 +319,6 @@ pci_init_board(void)
#ifdef CONFIG_PCI2
{
volatile
ccsr_fsl_pci_t
*
pci
=
(
ccsr_fsl_pci_t
*
)
CONFIG_SYS_PCI2_ADDR
;
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
struct
pci_controller
*
hose
=
&
pci2_hose
;
struct
pci_region
*
r
=
hose
->
regions
;
...
...
@@ -366,9 +362,6 @@ int last_stage_init(void)
}
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
ft_cpu_setup
(
blob
,
bd
);
...
...
board/freescale/mpc8536ds/mpc8536ds.c
浏览文件 @
32049b40
...
...
@@ -158,9 +158,6 @@ static struct pci_controller pcie2_hose;
static
struct
pci_controller
pcie3_hose
;
#endif
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
int
first_free_busno
=
0
;
void
...
...
@@ -650,9 +647,6 @@ int board_eth_init(bd_t *bis)
}
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
ft_cpu_setup
(
blob
,
bd
);
...
...
board/freescale/mpc8544ds/mpc8544ds.c
浏览文件 @
32049b40
...
...
@@ -93,9 +93,6 @@ static struct pci_controller pcie2_hose;
static
struct
pci_controller
pcie3_hose
;
#endif
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
int
first_free_busno
=
0
;
void
...
...
@@ -477,9 +474,6 @@ int board_eth_init(bd_t *bis)
}
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
ft_cpu_setup
(
blob
,
bd
);
...
...
board/freescale/mpc8548cds/mpc8548cds.c
浏览文件 @
32049b40
...
...
@@ -262,9 +262,6 @@ static struct pci_controller pci2_hose;
static
struct
pci_controller
pcie1_hose
;
#endif
/* CONFIG_PCIE1 */
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
int
first_free_busno
=
0
;
void
...
...
@@ -455,9 +452,6 @@ int last_stage_init(void)
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_pci_setup
(
void
*
blob
,
bd_t
*
bd
)
{
#ifdef CONFIG_PCI1
...
...
board/freescale/mpc8568mds/mpc8568mds.c
浏览文件 @
32049b40
...
...
@@ -311,9 +311,6 @@ static struct pci_controller pci1_hose = {
static
struct
pci_controller
pcie1_hose
;
#endif
/* CONFIG_PCIE1 */
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
int
first_free_busno
=
0
;
/*
...
...
@@ -483,9 +480,6 @@ pci_init_board(void)
#endif
/* CONFIG_PCI */
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
ft_cpu_setup
(
blob
,
bd
);
...
...
board/freescale/mpc8569mds/mpc8569mds.c
浏览文件 @
32049b40
...
...
@@ -232,9 +232,6 @@ local_bus_init(void)
static
struct
pci_controller
pcie1_hose
;
#endif
/* CONFIG_PCIE1 */
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
int
first_free_busno
=
0
;
#ifdef CONFIG_PCI
...
...
@@ -315,9 +312,6 @@ pci_init_board(void)
#endif
/* CONFIG_PCI */
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
ft_cpu_setup
(
blob
,
bd
);
...
...
board/freescale/mpc8572ds/mpc8572ds.c
浏览文件 @
32049b40
...
...
@@ -139,9 +139,6 @@ static struct pci_controller pcie2_hose;
static
struct
pci_controller
pcie3_hose
;
#endif
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
int
first_free_busno
=
0
;
#ifdef CONFIG_PCI
void
pci_init_board
(
void
)
...
...
@@ -557,9 +554,6 @@ int board_eth_init(bd_t *bis)
#endif
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
phys_addr_t
base
;
...
...
board/freescale/mpc8610hpcd/mpc8610hpcd.c
浏览文件 @
32049b40
...
...
@@ -229,9 +229,6 @@ static struct pci_controller pcie2_hose;
int
first_free_busno
=
0
;
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
void
pci_init_board
(
void
)
{
volatile
immap_t
*
immap
=
(
immap_t
*
)
CONFIG_SYS_CCSRBAR
;
...
...
@@ -402,9 +399,6 @@ void pci_init_board(void)
}
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
...
...
board/freescale/mpc8641hpcn/mpc8641hpcn.c
浏览文件 @
32049b40
...
...
@@ -133,9 +133,6 @@ static struct pci_controller pci2_hose;
int
first_free_busno
=
0
;
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
void
pci_init_board
(
void
)
{
#ifdef CONFIG_PCI1
...
...
@@ -251,9 +248,6 @@ void pci_init_board(void)
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
...
...
board/sbc8548/sbc8548.c
浏览文件 @
32049b40
...
...
@@ -347,9 +347,6 @@ static struct pci_controller pcie1_hose;
int
first_free_busno
=
0
;
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
void
pci_init_board
(
void
)
{
...
...
@@ -512,9 +509,6 @@ int last_stage_init(void)
}
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
ft_cpu_setup
(
blob
,
bd
);
...
...
board/sbc8641d/sbc8641d.c
浏览文件 @
32049b40
...
...
@@ -209,9 +209,6 @@ static struct pci_controller pci2_hose;
int
first_free_busno
=
0
;
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
void
pci_init_board
(
void
)
{
volatile
immap_t
*
immap
=
(
immap_t
*
)
CONFIG_SYS_CCSRBAR
;
...
...
@@ -321,9 +318,6 @@ void pci_init_board(void)
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
ft_cpu_setup
(
blob
,
bd
);
...
...
board/tqc/tqm85xx/tqm85xx.c
浏览文件 @
32049b40
...
...
@@ -537,9 +537,6 @@ void local_bus_init (void)
*/
static
int
first_free_busno
;
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
#ifdef CONFIG_PCI1
static
struct
pci_controller
pci1_hose
;
#endif
/* CONFIG_PCI1 */
...
...
@@ -700,9 +697,6 @@ void pci_init_board (void)
}
#ifdef CONFIG_OF_BOARD_SETUP
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
ft_cpu_setup
(
blob
,
bd
);
...
...
board/xes/common/fsl_85xx_pci.c
浏览文件 @
32049b40
...
...
@@ -28,10 +28,6 @@
#include <libfdt.h>
#include <fdt_support.h>
extern
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
extern
void
fsl_pci_config_unlock
(
struct
pci_controller
*
hose
);
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
int
first_free_busno
=
0
;
#ifdef CONFIG_PCI1
...
...
@@ -357,9 +353,6 @@ void pci_init_board(void)
}
#if defined(CONFIG_OF_BOARD_SETUP)
extern
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
void
ft_board_pci_setup
(
void
*
blob
,
bd_t
*
bd
)
{
/* TODO - make node name (eg pci0) dynamic */
...
...
include/asm-ppc/fsl_pci.h
浏览文件 @
32049b40
...
...
@@ -17,8 +17,14 @@
*
*/
#ifndef __IMMAP_85xx_fsl_pci__
#define __IMMAP_85xx_fsl_pci__
#ifndef __FSL_PCI_H_
#define __FSL_PCI_H_
int
fsl_pci_setup_inbound_windows
(
struct
pci_region
*
r
);
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
void
fsl_pci_config_unlock
(
struct
pci_controller
*
hose
);
void
ft_fsl_pci_setup
(
void
*
blob
,
const
char
*
pci_alias
,
struct
pci_controller
*
hose
);
/*
* Common PCI/PCIE Register structure for mpc85xx and mpc86xx
...
...
@@ -149,4 +155,4 @@ typedef struct ccsr_pci {
char
res24
[
252
];
}
ccsr_fsl_pci_t
;
#endif
/*__IMMAP_fsl_pci__*/
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录