mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
Kconfig: Add a CONFIG_IDE option
At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate CONFIG_IDE option so that IDE support can be enabled without requiring the 'ide' command. Update existing users and move the ide driver into drivers/block since it should not be in common/. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@ -186,16 +186,16 @@
|
||||
BOOT_TARGET_DEVICES_references_SCSI_without_CONFIG_SCSI
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_IDE
|
||||
#ifdef CONFIG_IDE
|
||||
#define BOOTENV_SHARED_IDE BOOTENV_SHARED_BLKDEV(ide)
|
||||
#define BOOTENV_DEV_IDE BOOTENV_DEV_BLKDEV
|
||||
#define BOOTENV_DEV_NAME_IDE BOOTENV_DEV_NAME_BLKDEV
|
||||
#else
|
||||
#define BOOTENV_SHARED_IDE
|
||||
#define BOOTENV_DEV_IDE \
|
||||
BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_CMD_IDE
|
||||
BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE
|
||||
#define BOOTENV_DEV_NAME_IDE \
|
||||
BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_CMD_IDE
|
||||
BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_PCI_ENUM) || defined(CONFIG_DM_PCI)
|
||||
|
Reference in New Issue
Block a user