projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Drop linux/delay.h from common header
[oweals/u-boot.git]
/
board
/
tqc
/
tqm834x
/
pci.c
diff --git
a/board/tqc/tqm834x/pci.c
b/board/tqc/tqm834x/pci.c
index 34c68ac463772dfbc71e86212b75319d74be2219..92bda60765243991ce52d0ff703e70c8f3d716b3 100644
(file)
--- a/
board/tqc/tqm834x/pci.c
+++ b/
board/tqc/tqm834x/pci.c
@@
-5,6
+5,7
@@
* Copyright (C) 2006-2009 Freescale Semiconductor, Inc.
*/
* Copyright (C) 2006-2009 Freescale Semiconductor, Inc.
*/
+#include <init.h>
#include <asm/mmu.h>
#include <asm/io.h>
#include <common.h>
#include <asm/mmu.h>
#include <asm/io.h>
#include <common.h>
@@
-12,6
+13,7
@@
#include <pci.h>
#include <i2c.h>
#include <asm/fsl_i2c.h>
#include <pci.h>
#include <i2c.h>
#include <asm/fsl_i2c.h>
+#include <linux/delay.h>
static struct pci_region pci1_regions[] = {
{
static struct pci_region pci1_regions[] = {
{
@@
-71,7
+73,7
@@
pci_init_board(void)
reg32 = 0xff000000;
#endif
if (clk->spmr & SPMR_CKID) {
reg32 = 0xff000000;
#endif
if (clk->spmr & SPMR_CKID) {
- /* PCI Clock is half CONFIG_
83XX_CLKIN
so need to set up OCCR
+ /* PCI Clock is half CONFIG_
SYS_CLK_FREQ
so need to set up OCCR
* fields accordingly */
reg32 |= (OCCR_PCI1CR | OCCR_PCI2CR);
* fields accordingly */
reg32 |= (OCCR_PCI1CR | OCCR_PCI2CR);