projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc: Remove T4160QDS_NAND_defconfig board
[platform/kernel/u-boot.git]
/
board
/
freescale
/
p1_twr
/
p1_twr.c
diff --git
a/board/freescale/p1_twr/p1_twr.c
b/board/freescale/p1_twr/p1_twr.c
index
a40bea3
..
8e1522a
100644
(file)
--- a/
board/freescale/p1_twr/p1_twr.c
+++ b/
board/freescale/p1_twr/p1_twr.c
@@
-1,12
+1,15
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2013 Freescale Semiconductor, Inc.
/*
* Copyright 2013 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <command.h>
*/
#include <common.h>
#include <command.h>
+#include <env.h>
#include <hwconfig.h>
#include <hwconfig.h>
+#include <image.h>
+#include <init.h>
+#include <net.h>
#include <pci.h>
#include <i2c.h>
#include <asm/processor.h>
#include <pci.h>
#include <i2c.h>
#include <asm/processor.h>
@@
-20,7
+23,7
@@
#include <asm/fsl_lbc.h>
#include <asm/mp.h>
#include <miiphy.h>
#include <asm/fsl_lbc.h>
#include <asm/mp.h>
#include <miiphy.h>
-#include <libfdt.h>
+#include <li
nux/li
bfdt.h>
#include <fdt_support.h>
#include <fsl_mdio.h>
#include <tsec.h>
#include <fdt_support.h>
#include <fsl_mdio.h>
#include <tsec.h>
@@
-268,8
+271,8
@@
int ft_board_setup(void *blob, bd_t *bd)
ft_cpu_setup(blob, bd);
ft_cpu_setup(blob, bd);
- base =
getenv
_bootm_low();
- size =
getenv
_bootm_size();
+ base =
env_get
_bootm_low();
+ size =
env_get
_bootm_size();
fdt_fixup_memory(blob, (u64)base, (u64)size);
fdt_fixup_memory(blob, (u64)base, (u64)size);
@@
-282,7
+285,7
@@
int ft_board_setup(void *blob, bd_t *bd)
#if defined(CONFIG_TWR_P1025)
fdt_board_fixup_qe_pins(blob);
#endif
#if defined(CONFIG_TWR_P1025)
fdt_board_fixup_qe_pins(blob);
#endif
- fdt_fixup_dr_usb(blob, bd);
+ f
sl_f
dt_fixup_dr_usb(blob, bd);
return 0;
}
return 0;
}