From c3333ded03b4868c42b0eefd4a3e97c14e0d1f57 Mon Sep 17 00:00:00 2001 From: Roger Quadros Date: Mon, 4 Apr 2016 10:53:31 +0300 Subject: [PATCH] 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 --- 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 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(); /* -- 2.39.2