[U-Boot] powerpc/83xx: remove empty board_early_init_f()

Timur Tabi timur at freescale.com
Thu Apr 28 22:01:29 CEST 2011


Remove an empty board_early_init_f() from the MPC8323ERD and MPC360ERDK boards.

Signed-off-by: Timur Tabi <timur at freescale.com>
---
 board/freescale/mpc8323erdb/mpc8323erdb.c |    5 -----
 board/freescale/mpc8360erdk/mpc8360erdk.c |    5 -----
 include/configs/MPC8323ERDB.h             |    2 --
 include/configs/MPC8360ERDK.h             |    1 -
 4 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/board/freescale/mpc8323erdb/mpc8323erdb.c b/board/freescale/mpc8323erdb/mpc8323erdb.c
index 7a0ff18..f29b2f4 100644
--- a/board/freescale/mpc8323erdb/mpc8323erdb.c
+++ b/board/freescale/mpc8323erdb/mpc8323erdb.c
@@ -66,11 +66,6 @@ const qe_iop_conf_t qe_iop_conf_tab[] = {
 	{0,  0, 0, 0, QE_IOP_TAB_END}, /* END of table */
 };
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int fixed_sdram(void);
 
 phys_size_t initdram(int board_type)
diff --git a/board/freescale/mpc8360erdk/mpc8360erdk.c b/board/freescale/mpc8360erdk/mpc8360erdk.c
index 2baa11a..99c0fbb 100644
--- a/board/freescale/mpc8360erdk/mpc8360erdk.c
+++ b/board/freescale/mpc8360erdk/mpc8360erdk.c
@@ -207,11 +207,6 @@ const qe_iop_conf_t qe_iop_conf_tab[] = {
 	{0,  0, 0, 0, QE_IOP_TAB_END},
 };
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int board_early_init_r(void)
 {
 	void *reg = (void *)(CONFIG_SYS_IMMR + 0x14a8);
diff --git a/include/configs/MPC8323ERDB.h b/include/configs/MPC8323ERDB.h
index e25d5ac..4d4c758 100644
--- a/include/configs/MPC8323ERDB.h
+++ b/include/configs/MPC8323ERDB.h
@@ -59,8 +59,6 @@
  */
 #define CONFIG_SYS_SICRL		0x00000000
 
-#define CONFIG_BOARD_EARLY_INIT_F	/* call board_pre_init */
-
 /*
  * IMMR new address
  */
diff --git a/include/configs/MPC8360ERDK.h b/include/configs/MPC8360ERDK.h
index a4f42cf..851872a 100644
--- a/include/configs/MPC8360ERDK.h
+++ b/include/configs/MPC8360ERDK.h
@@ -72,7 +72,6 @@
 #define CONFIG_SYS_SICRH		0x00000000
 #define CONFIG_SYS_SICRL		0x40000000
 
-#define CONFIG_BOARD_EARLY_INIT_F /* call board_pre_init */
 #define CONFIG_BOARD_EARLY_INIT_R
 
 /*
-- 
1.7.3.4




More information about the U-Boot mailing list