[U-Boot] [PATCH] board: ti: am57xx: Prevent init_sata() from being called twice

Roger Quadros rogerq at ti.com
Mon Apr 4 09:53:31 CEST 2016


init_sata() is done as part of scsi_init() in
arch/arm/cpu/armv7/omap-common/sata.c so no need to duplicate
it here.

This seems to fix SATA problems in the kernel when CONFIG_TI_PIPE3 is
configured as loadable module.

Cc: Cooper Jr., Franklin <fcooper at ti.com>
Cc: Nishanth Menon <nm at ti.com>
Signed-off-by: Roger Quadros <rogerq at ti.com>
---
 board/ti/am57xx/board.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 042f9ab..34c5161 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -264,7 +264,6 @@ int board_init(void)
 
 int board_late_init(void)
 {
-	init_sata(0);
 	/*
 	 * DEV_CTRL.DEV_ON = 1 please - else palmas switches off in 8 seconds
 	 * This is the POWERHOLD-in-Low behavior.
-- 
2.5.0



More information about the U-Boot mailing list