mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 22:18:52 +00:00
ata: enable the sata initialize on boot up
Signed-off-by: Dave Liu <daveliu@freescale.com>
This commit is contained in:
parent
69386383c5
commit
cd54081cd4
1 changed files with 8 additions and 0 deletions
|
@ -38,6 +38,9 @@
|
|||
#if defined(CONFIG_CMD_IDE)
|
||||
#include <ide.h>
|
||||
#endif
|
||||
#if defined(CONFIG_CMD_SATA)
|
||||
#include <sata.h>
|
||||
#endif
|
||||
#if defined(CONFIG_CMD_SCSI)
|
||||
#include <scsi.h>
|
||||
#endif
|
||||
|
@ -1104,6 +1107,11 @@ void board_init_r (gd_t *id, ulong dest_addr)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_SATA)
|
||||
puts ("SATA: ");
|
||||
sata_initialize ();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_LAST_STAGE_INIT
|
||||
WATCHDOG_RESET ();
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue