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
/
freescale
/
mpc8308rdb
/
mpc8308rdb.c
diff --git
a/board/freescale/mpc8308rdb/mpc8308rdb.c
b/board/freescale/mpc8308rdb/mpc8308rdb.c
index 93e1c50f393a0cccbd5a429607eb3b8859382ee5..259d6aa1c2c9b3a9b305be96bead318d33650fb5 100644
(file)
--- a/
board/freescale/mpc8308rdb/mpc8308rdb.c
+++ b/
board/freescale/mpc8308rdb/mpc8308rdb.c
@@
-1,15
+1,17
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2010 Freescale Semiconductor, Inc.
* Copyright (C) 2010 Ilya Yanok, Emcraft Systems, yanok@emcraft.com
/*
* 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 <hwconfig.h>
#include <i2c.h>
*/
#include <common.h>
#include <hwconfig.h>
#include <i2c.h>
+#include <init.h>
+#include <net.h>
#include <spi.h>
#include <spi.h>
-#include <libfdt.h>
+#include <linux/delay.h>
+#include <linux/libfdt.h>
#include <fdt_support.h>
#include <pci.h>
#include <mpc83xx.h>
#include <fdt_support.h>
#include <pci.h>
#include <mpc83xx.h>
@@
-20,8
+22,6
@@
#include <asm/fsl_serdes.h>
#include <asm/fsl_mpc83xx_serdes.h>
#include <asm/fsl_serdes.h>
#include <asm/fsl_mpc83xx_serdes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* The following are used to control the SPI chip selects for the SPI command.
*/
/*
* The following are used to control the SPI chip selects for the SPI command.
*/
@@
-164,7
+164,7
@@
int misc_init_r(void)
int ft_board_setup(void *blob, bd_t *bd)
{
ft_cpu_setup(blob, bd);
int ft_board_setup(void *blob, bd_t *bd)
{
ft_cpu_setup(blob, bd);
- fdt_fixup_dr_usb(blob, bd);
+ f
sl_f
dt_fixup_dr_usb(blob, bd);
fdt_fixup_esdhc(blob, bd);
return 0;
fdt_fixup_esdhc(blob, bd);
return 0;