mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08: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:
@ -1024,7 +1024,7 @@ void arch_preboot_os(void)
|
||||
mtmsr(msr);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_CMD_SATA) && defined(CONFIG_FSL_SATA)
|
||||
#if defined(CONFIG_SATA) && defined(CONFIG_FSL_SATA)
|
||||
int sata_initialize(void)
|
||||
{
|
||||
if (is_serdes_configured(SATA1) || is_serdes_configured(SATA2))
|
||||
|
Reference in New Issue
Block a user