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 <fcooper@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
master
Roger Quadros 8 years ago committed by Tom Rini
parent 8eca9439ea
commit c3333ded03
  1. 1
      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();
/*

Loading…
Cancel
Save