diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 12:25:30 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-22 19:45:27 +0300 |
commit | fc843a02acad62e231a3e779cebd1712688146fc (patch) | |
tree | b2811ec28b2378f0b471d3173e59768834d41929 /include/configs/r7780mp.h | |
parent | 75eb9976b78ace0e667c1f5faf367acfaed141df (diff) | |
download | u-boot-fc843a02acad62e231a3e779cebd1712688146fc.tar.xz |
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>
Diffstat (limited to 'include/configs/r7780mp.h')
-rw-r--r-- | include/configs/r7780mp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h index 26c5f0feeb..bb79a9ffea 100644 --- a/include/configs/r7780mp.h +++ b/include/configs/r7780mp.h @@ -119,7 +119,7 @@ #endif /* Compact flash Support */ -#if defined(CONFIG_CMD_IDE) +#if defined(CONFIG_IDE) #define CONFIG_IDE_RESET 1 #define CONFIG_SYS_PIO_MODE 1 #define CONFIG_SYS_IDE_MAXBUS 1 /* IDE bus */ @@ -130,6 +130,6 @@ #define CONFIG_SYS_ATA_REG_OFFSET 0x1000 /* reg offset */ #define CONFIG_SYS_ATA_ALT_OFFSET 0x800 /* alternate register offset */ #define CONFIG_IDE_SWAP_IO -#endif /* CONFIG_CMD_IDE */ +#endif /* CONFIG_IDE */ #endif /* __R7780RP_H */ |