diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-03-14 13:14:20 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-05-12 14:55:53 -0400 |
commit | 3579ad4113dd6102866abb0ac7b8f329e7d41e4e (patch) | |
tree | ab26e83fbef3eb4beb723062851c93778a51b6db /drivers/mtd/maps/Kconfig | |
parent | 49c50b97b5522a987b80fbbf9d9869deee8d23b0 (diff) |
mtd: Fix Elan SC520 dependencies
Anyone working with an AMD Elan SC520 development or evaluation board
would be building a dedicated kernel for it, so we can make the
sc520cdp and netsc520 maps depend on MELAN. SC520_CPUFREQ already
depends on MELAN so it makes things more consistent. It also makes
kernel configuration for every other x86 user easier.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/maps/Kconfig')
-rw-r--r-- | drivers/mtd/maps/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index fce23fe043f7..21b2874a303b 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -108,7 +108,7 @@ config MTD_SUN_UFLASH | |||
108 | 108 | ||
109 | config MTD_SC520CDP | 109 | config MTD_SC520CDP |
110 | tristate "CFI Flash device mapped on AMD SC520 CDP" | 110 | tristate "CFI Flash device mapped on AMD SC520 CDP" |
111 | depends on X86 && MTD_CFI | 111 | depends on (MELAN || COMPILE_TEST) && MTD_CFI |
112 | help | 112 | help |
113 | The SC520 CDP board has two banks of CFI-compliant chips and one | 113 | The SC520 CDP board has two banks of CFI-compliant chips and one |
114 | Dual-in-line JEDEC chip. This 'mapping' driver supports that | 114 | Dual-in-line JEDEC chip. This 'mapping' driver supports that |
@@ -116,7 +116,7 @@ config MTD_SC520CDP | |||
116 | 116 | ||
117 | config MTD_NETSC520 | 117 | config MTD_NETSC520 |
118 | tristate "CFI Flash device mapped on AMD NetSc520" | 118 | tristate "CFI Flash device mapped on AMD NetSc520" |
119 | depends on X86 && MTD_CFI | 119 | depends on (MELAN || COMPILE_TEST) && MTD_CFI |
120 | help | 120 | help |
121 | This enables access routines for the flash chips on the AMD NetSc520 | 121 | This enables access routines for the flash chips on the AMD NetSc520 |
122 | demonstration board. If you have one of these boards and would like | 122 | demonstration board. If you have one of these boards and would like |