1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-02 01:02:19 +02:00

dm: sata: Support driver model with the 'sata' command

Update this command to support driver model. This has a different way of
starting and stopping SATA.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2017-07-29 11:35:13 -06:00
committed by Jaehoon Chung
parent 752126a05a
commit f19f1ecb60
3 changed files with 89 additions and 13 deletions

View File

@@ -166,7 +166,7 @@ static inline int splash_init_usb(void)
#ifdef CONFIG_SATA
static int splash_init_sata(void)
{
return sata_initialize();
return sata_probe(0);
}
#else
static inline int splash_init_sata(void)