mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00: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:
parent
3bf926c0dd
commit
10e40d54b3
22 changed files with 38 additions and 24 deletions
|
@ -149,16 +149,16 @@
|
|||
#define SCAN_DEV_FOR_EFI
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_SATA
|
||||
#ifdef CONFIG_SATA
|
||||
#define BOOTENV_SHARED_SATA BOOTENV_SHARED_BLKDEV(sata)
|
||||
#define BOOTENV_DEV_SATA BOOTENV_DEV_BLKDEV
|
||||
#define BOOTENV_DEV_NAME_SATA BOOTENV_DEV_NAME_BLKDEV
|
||||
#else
|
||||
#define BOOTENV_SHARED_SATA
|
||||
#define BOOTENV_DEV_SATA \
|
||||
BOOT_TARGET_DEVICES_references_SATA_without_CONFIG_CMD_SATA
|
||||
BOOT_TARGET_DEVICES_references_SATA_without_CONFIG_SATA
|
||||
#define BOOTENV_DEV_NAME_SATA \
|
||||
BOOT_TARGET_DEVICES_references_SATA_without_CONFIG_CMD_SATA
|
||||
BOOT_TARGET_DEVICES_references_SATA_without_CONFIG_SATA
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SCSI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue