summaryrefslogtreecommitdiff
path: root/common/splash_source.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-07-29 11:35:13 -0600
committerJaehoon Chung <jh80.chung@samsung.com>2017-08-17 16:44:17 +0900
commitf19f1ecb6025f0e2afb237a59b24462c5340787a (patch)
tree7efb1e4fefcfc4e68e6bcdf89dceca41398b9373 /common/splash_source.c
parent752126a05a73303192d704250a0e68156241784d (diff)
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>
Diffstat (limited to 'common/splash_source.c')
-rw-r--r--common/splash_source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/splash_source.c b/common/splash_source.c
index 867a798487..206a45df37 100644
--- a/common/splash_source.c
+++ b/common/splash_source.c
@@ -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)