提交 8b251263 编写于 作者: W Wolfgang Denk

cpu/mpc512x/pci.c: minor coding style cleanup

Get rid of variable declaration in the middle of the code.
Signed-off-by: NWolfgang Denk <wd@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
上级 de26ef99
......@@ -54,6 +54,7 @@ pci_init_board(void)
u16 reg16;
u32 reg32;
u32 dev;
int i;
struct pci_controller *hose;
/* Set PCI divider for 33MHz */
......@@ -77,12 +78,8 @@ pci_init_board(void)
pci_ctrl->gcr = 1;
/* We need to wait at least a 1sec based on PCI specs */
{
int i;
for (i = 0; i < 1000; i++)
udelay(1000);
}
for (i = 0; i < 1000; i++)
udelay(1000);
/*
* Configure PCI Local Access Windows
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册