Commit 3579ad4113dd6102866abb0ac7b8f329e7d41e4e

Authored by Jean Delvare
Committed by Brian Norris
1 parent 49c50b97b5

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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/mtd/maps/Kconfig
... ... @@ -108,7 +108,7 @@
108 108  
109 109 config MTD_SC520CDP
110 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 112 help
113 113 The SC520 CDP board has two banks of CFI-compliant chips and one
114 114 Dual-in-line JEDEC chip. This 'mapping' driver supports that
... ... @@ -116,7 +116,7 @@
116 116  
117 117 config MTD_NETSC520
118 118 tristate "CFI Flash device mapped on AMD NetSc520"
119   - depends on X86 && MTD_CFI
  119 + depends on (MELAN || COMPILE_TEST) && MTD_CFI
120 120 help
121 121 This enables access routines for the flash chips on the AMD NetSc520
122 122 demonstration board. If you have one of these boards and would like