提交 3160b1b9 编写于 作者: R Roger Quadros 提交者: Tom Rini

OMAP5+: sata/scsi: Implement scsi_init()

On OMAP platforms, SATA controller provides the SCSI subsystem
so implement scsi_init().

Get rid of the unnecessary sata_init() call from dra7xx-evm
and omap5-uevm board files.
Signed-off-by: NRoger Quadros <rogerq@ti.com>
上级 02590aa3
......@@ -74,3 +74,9 @@ int init_sata(int dev)
return ret;
}
/* On OMAP platforms SATA provides the SCSI subsystem */
void scsi_init(void)
{
init_sata(0);
}
......@@ -93,7 +93,6 @@ int board_late_init(void)
else
setenv("board_name", "dra7xx");
#endif
init_sata(0);
return 0;
}
......
......@@ -69,12 +69,6 @@ int board_init(void)
return 0;
}
int board_late_init(void)
{
init_sata(0);
return 0;
}
int board_eth_init(bd_t *bis)
{
return 0;
......
......@@ -72,7 +72,6 @@
/* Max time to hold reset on this board, see doc/README.omap-reset-time */
#define CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC 16296
#define CONFIG_BOARD_LATE_INIT
#define CONFIG_CMD_SCSI
#define CONFIG_LIBATA
#define CONFIG_SCSI_AHCI
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册