common: Drop linux/delay.h from common header
[oweals/u-boot.git] / board / tqc / tqm834x / pci.c
index 34c68ac463772dfbc71e86212b75319d74be2219..92bda60765243991ce52d0ff703e70c8f3d716b3 100644 (file)
@@ -5,6 +5,7 @@
  * Copyright (C) 2006-2009 Freescale Semiconductor, Inc.
  */
 
+#include <init.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 <linux/delay.h>
 
 static struct pci_region pci1_regions[] = {
        {
@@ -71,7 +73,7 @@ pci_init_board(void)
        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);