]> git.sur5r.net Git - u-boot/commitdiff
board: ti: am57xx: Prevent init_sata() from being called twice
authorRoger Quadros <rogerq@ti.com>
Mon, 4 Apr 2016 07:53:31 +0000 (10:53 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 12 Apr 2016 00:48:21 +0000 (20:48 -0400)
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@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
board/ti/am57xx/board.c

index 18416ef64ad9f901c4970fce044830f69e7c74e8..a5f02e6390ac961bf3fff8d1f0ba847dab53d73e 100644 (file)
@@ -324,7 +324,6 @@ int board_init(void)
 
 int board_late_init(void)
 {
-       init_sata(0);
        setup_board_eeprom_env();
 
        /*