Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jean Delvare and committed by
Brian Norris
3579ad41 49c50b97

+2 -2
+2 -2
drivers/mtd/maps/Kconfig
··· 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 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