From: Roger Quadros Date: Mon, 4 Apr 2016 07:53:31 +0000 (+0300) Subject: board: ti: am57xx: Prevent init_sata() from being called twice X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c3333ded03b4868c42b0eefd4a3e97c14e0d1f57;p=u-boot.git board: ti: am57xx: Prevent init_sata() from being called twice 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 Cc: Nishanth Menon Signed-off-by: Roger Quadros --- diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 18416ef64a..a5f02e6390 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -324,7 +324,6 @@ int board_init(void) int board_late_init(void) { - init_sata(0); setup_board_eeprom_env(); /*