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:
@@ -609,7 +609,7 @@ int board_late_init(void)
|
||||
pwm_enable(0);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_SATA
|
||||
#ifdef CONFIG_SATA
|
||||
setup_ba16_sata();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user