common: Drop linux/delay.h from common header
[oweals/u-boot.git] / board / freescale / mpc8568mds / mpc8568mds.c
index 4ad427089955f418ab566e7567a212a301256d64..2871636165ebbeebfb47cfb462c35c018f21f7c4 100644 (file)
@@ -1,12 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2007,2009-2011 Freescale Semiconductor, Inc.
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
+#include <flash.h>
+#include <init.h>
+#include <log.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/mmu.h>
@@ -17,6 +19,7 @@
 #include <spd_sdram.h>
 #include <i2c.h>
 #include <ioports.h>
+#include <linux/delay.h>
 #include <linux/libfdt.h>
 #include <fdt_support.h>
 
@@ -302,7 +305,7 @@ void pci_init_board(void)
        porpllsr = in_be32(&gur->porpllsr);
        io_sel = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> 19;
 
-       debug ("   pci_init_board: devdisr=%x, io_sel=%x\n", devdisr, io_sel);
+       debug("   %s: devdisr=%x, io_sel=%x\n", __func__, devdisr, io_sel);
 
        pci_speed = 66666000;
        pci_32 = 1;