* [PATCH] mtd: Fix Elan SC520 dependencies
@ 2014-03-14 17:14 Jean Delvare
2014-05-12 19:03 ` Brian Norris
0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2014-03-14 17:14 UTC (permalink / raw)
To: linux-mtd; +Cc: Brian Norris, David Woodhouse
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>
Cc: Brian Norris <computersforpeace@gmail.com>
---
I _think_ the code should build everywhere so COMPILE_TEST is OK. If
not, please let me know and we'll discuss it.
drivers/mtd/maps/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-3.14-rc6.orig/drivers/mtd/maps/Kconfig 2014-03-10 18:32:15.305850964 +0100
+++ linux-3.14-rc6/drivers/mtd/maps/Kconfig 2014-03-14 17:59:13.335432890 +0100
@@ -108,7 +108,7 @@ config MTD_SUN_UFLASH
config MTD_SC520CDP
tristate "CFI Flash device mapped on AMD SC520 CDP"
- depends on X86 && MTD_CFI
+ depends on (MELAN || COMPILE_TEST) && MTD_CFI
help
The SC520 CDP board has two banks of CFI-compliant chips and one
Dual-in-line JEDEC chip. This 'mapping' driver supports that
@@ -116,7 +116,7 @@ config MTD_SC520CDP
config MTD_NETSC520
tristate "CFI Flash device mapped on AMD NetSc520"
- depends on X86 && MTD_CFI
+ depends on (MELAN || COMPILE_TEST) && MTD_CFI
help
This enables access routines for the flash chips on the AMD NetSc520
demonstration board. If you have one of these boards and would like
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: Fix Elan SC520 dependencies
2014-03-14 17:14 [PATCH] mtd: Fix Elan SC520 dependencies Jean Delvare
@ 2014-05-12 19:03 ` Brian Norris
0 siblings, 0 replies; 2+ messages in thread
From: Brian Norris @ 2014-05-12 19:03 UTC (permalink / raw)
To: Jean Delvare; +Cc: David Woodhouse, linux-mtd
On Fri, Mar 14, 2014 at 06:14:20PM +0100, Jean Delvare wrote:
> 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>
> Cc: Brian Norris <computersforpeace@gmail.com>
> ---
> I _think_ the code should build everywhere so COMPILE_TEST is OK. If
> not, please let me know and we'll discuss it.
I ran it through a few builds here and everything works OK.
Pushed to l2-mtd.git. Thanks!
Brian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-12 19:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14 17:14 [PATCH] mtd: Fix Elan SC520 dependencies Jean Delvare
2014-05-12 19:03 ` Brian Norris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox