Skip to contentSkip to conversation

+ firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jan 23, 2014

lore
Share & tools
lore
#0 lore raw

Subject: + firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 23 Jan 2014 13:50:33 -0800

The patch titled
Subject: firmware/google: drop 'select EFI' to avoid recursive dependency
has been added to the -mm tree. Its filename is
firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Ard Biesheuvel <[email protected]>
Subject: firmware/google: drop 'select EFI' to avoid recursive dependency

The GOOGLE_SMI Kconfig symbol depends on DMI and selects EFI. This causes problems on other archs when introducing DMI support that depends on EFI, as it results in a recursive dependency:

arch/arm/Kconfig:1845:error: recursive dependency detected!
arch/arm/Kconfig:1845: symbol DMI depends on EFI

Fix by changing the 'select EFI' to a 'depends on EFI'.

---

 drivers/firmware/google/Kconfig |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/firmware/google/Kconfig renamed from drivers/firmware/google/Kconfig~firmware-google-drop-select-efi-to-avoid-recursive-dependency +1 -2
diff -puN drivers/firmware/google/Kconfig~firmware-google-drop-select-efi-to-avoid-recursive-dependency drivers/firmware/google/Kconfig
@@ -12,8 +12,7 @@ menu "Google Firmware Drivers"
 
 config GOOGLE_SMI
 	tristate "SMI interface for Google platforms"
-	depends on ACPI && DMI
-	select EFI
+	depends on ACPI && DMI && EFI
 	select EFI_VARS
 	help
 	  Say Y here if you want to enable SMI callbacks for Google

_

Patches currently in -mm which might be from [email protected] are

origin.patch firmware-dmi_scan-generalize-for-use-by-other-archs.patch firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch