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

login
register
mail settings
Submitter Timur Tabi
Date April 28, 2011, 8:01 p.m.
Message ID <1304020874-18285-1-git-send-email-timur@freescale.com>
Download mbox | patch
Permalink /patch/93285/
State Accepted
Commit eb0d47e181d7ccf74069fef3c150b5743bb4d51b
Delegated to: Kumar Gala
Headers show

Comments

Timur Tabi - April 28, 2011, 8:01 p.m.
Remove an empty board_early_init_f() from the MPC8641HPCN board.

Signed-off-by: Timur Tabi <timur@freescale.com>
---
 board/freescale/mpc8641hpcn/mpc8641hpcn.c |    5 -----
 include/configs/MPC8641HPCN.h             |    2 --
 2 files changed, 0 insertions(+), 7 deletions(-)
Kumar Gala - April 29, 2011, 3:11 a.m.
On Apr 28, 2011, at 3:01 PM, Timur Tabi wrote:

> Remove an empty board_early_init_f() from the MPC8641HPCN board.
> 
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
> board/freescale/mpc8641hpcn/mpc8641hpcn.c |    5 -----
> include/configs/MPC8641HPCN.h             |    2 --
> 2 files changed, 0 insertions(+), 7 deletions(-)

applied

- k

Patch

diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c
index cd2ce4b..e3916fc 100644
--- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c
+++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c
@@ -34,11 +34,6 @@ 
 
 phys_size_t fixed_sdram(void);
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int checkboard(void)
 {
 	u8 vboot;
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 0cca603..0ddb76f 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -90,8 +90,6 @@  extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_CLK_FREQ	get_board_sys_clk(0)
 #endif
 
-#define CONFIG_BOARD_EARLY_INIT_F	1	/* Call board_pre_init */
-
 #define CONFIG_SYS_MEMTEST_START	0x00200000	/* memtest region */
 #define CONFIG_SYS_MEMTEST_END		0x00400000