Skip to contentSkip to conversation

mx6sxsabresd: Remove unneeded board_late_init()

PATCH New Fabio Estevam 2 participants 2 messages Dec 29, 2014 – Jan 19, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx6sxsabresd: Remove unneeded board_late_init()

From: Fabio Estevam <[email protected]>

Since commit 1f98e31bc0b2c37a ("imx: mx6sxsabresd: Use the pfuze common init function") board_late_init() became empty, so we can safely remove this unneeded function.

---
 board/freescale/mx6sxsabresd/mx6sxsabresd.c | 5 -----
 include/configs/mx6sxsabresd.h              | 1 -
 2 files changed, 6 deletions(-)
board/freescale/mx6sxsabresd/mx6sxsabresd.c +0 -5
index fd8bc72..83e0508 100644
@@ -383,11 +383,6 @@ int board_init(void)
 	return 0;
 }
 
-int board_late_init(void)
-{
-	return 0;
-}
-
 int checkboard(void)
 {
 	puts("Board: MX6SX SABRE SDB\n");
include/configs/mx6sxsabresd.h +0 -1
index 61a7a7a..3d35c4b 100644
@@ -28,7 +28,6 @@
 #define CONFIG_SYS_MALLOC_LEN		(3 * SZ_1M)
 
 #define CONFIG_BOARD_EARLY_INIT_F
-#define CONFIG_BOARD_LATE_INIT
 #define CONFIG_MXC_GPIO
 
 #define CONFIG_MXC_UART
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 mx6sxsabresd: Remove unneeded board_late_init()

Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Since commit 1f98e31bc0b2c37a ("imx: mx6sxsabresd: Use the pfuze common init function") board_late_init() became empty, so we can safely remove this unneeded function.

---

Applied to -u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================