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

Kconfig: Add CONFIG_SATA to enable SATA

At present CONFIG_CMD_SATA enables the 'sata' command which also brings
in SATA support. Some boards may wish to enable SATA without the command.
Add a separate CONFIG to permit this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass
2017-06-14 21:28:25 -06:00
parent 3bf926c0dd
commit 10e40d54b3
22 changed files with 38 additions and 24 deletions

View File

@@ -162,7 +162,7 @@ static inline int splash_init_usb(void)
}
#endif
#ifdef CONFIG_CMD_SATA
#ifdef CONFIG_SATA
static int splash_init_sata(void)
{
return sata_initialize();