diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-14 21:01:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 11:53:34 -0500 |
commit | 9b6e3e42a48ea535c0ed79df32d1353d5e547bed (patch) | |
tree | 5a5414b35342bba0fb22b1beab9890c4dda5a5ec /drivers/firmware | |
parent | ca54cb8c9eb38095dc420b73c6380ce1dbeb10fa (diff) |
firmware: only allow EDD on x86
Rather than have the EDD depend on !ia64 (and assuming that only ia64,
x86, x86_64 will be including this Kconfig), have EDD depend on the only
arches which can support this code. This should allow all other arches to
cleanly include the firmware Kconfig.
Also simplify the x86 string used by FIRMWARE_MEMMAP to match EDD.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index ebb9e51deb0c..1b03ba1d0834 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig | |||
@@ -7,7 +7,7 @@ menu "Firmware Drivers" | |||
7 | 7 | ||
8 | config EDD | 8 | config EDD |
9 | tristate "BIOS Enhanced Disk Drive calls determine boot disk" | 9 | tristate "BIOS Enhanced Disk Drive calls determine boot disk" |
10 | depends on !IA64 | 10 | depends on X86 |
11 | help | 11 | help |
12 | Say Y or M here if you want to enable BIOS Enhanced Disk Drive | 12 | Say Y or M here if you want to enable BIOS Enhanced Disk Drive |
13 | Services real mode BIOS calls to determine which disk | 13 | Services real mode BIOS calls to determine which disk |
@@ -28,7 +28,7 @@ config EDD_OFF | |||
28 | 28 | ||
29 | config FIRMWARE_MEMMAP | 29 | config FIRMWARE_MEMMAP |
30 | bool "Add firmware-provided memory map to sysfs" if EMBEDDED | 30 | bool "Add firmware-provided memory map to sysfs" if EMBEDDED |
31 | default (X86_64 || X86_32) | 31 | default X86 |
32 | help | 32 | help |
33 | Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap. | 33 | Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap. |
34 | That memory map is used for example by kexec to set up parameter area | 34 | That memory map is used for example by kexec to set up parameter area |