mmc: davinci: fix mmc boot in SPL
[oweals/u-boot.git] / board / mpc8308_p1m / mpc8308_p1m.c
index 234a38780184e904f313218fff8a0e463185f4f1..5b2fd9c23f63aa821959ad068dc8d807561c48ea 100644 (file)
@@ -1,13 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  * Copyright (C) 2010 Ilya Yanok, Emcraft Systems, yanok@emcraft.com
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 #include <i2c.h>
-#include <libfdt.h>
+#include <init.h>
+#include <linux/libfdt.h>
 #include <fdt_support.h>
 #include <pci.h>
 #include <mpc83xx.h>
@@ -16,8 +16,6 @@
 #include <asm/fsl_serdes.h>
 #include <asm/fsl_mpc83xx_serdes.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int checkboard(void)
 {
        printf("Board: MPC8308 P1M\n");