Thread (7 messages) 7 messages, 3 authors, 2021-02-01

Re: [PATCH] powerpc: fix AKEBONO build failures

From: Yury Norov <yury.norov@gmail.com>
Date: 2021-01-21 07:39:50
Also in: lkml

On Wed, Jan 20, 2021 at 10:10 PM Randy Dunlap [off-list ref] wrote:
quoted hunk ↗ jump to hunk
On 1/20/21 1:29 PM, Yury Norov wrote:
quoted
Hi all,

I found the power pc build broken on today's
linux-next (647060f3b592).
Darn, I was building linux-5.11-rc4.

I'll try linux-next after I send this.

---
From: Randy Dunlap <redacted>

Fulfill AKEBONO Kconfig requirements.

Fixes these Kconfig warnings (and more) and fixes the subsequent
build errors:

WARNING: unmet direct dependencies detected for NETDEVICES
  Depends on [n]: NET [=n]
  Selected by [y]:
  - AKEBONO [=y] && PPC_47x [=y]

WARNING: unmet direct dependencies detected for MMC_SDHCI
  Depends on [n]: MMC [=n] && HAS_DMA [=y]
  Selected by [y]:
  - AKEBONO [=y] && PPC_47x [=y]

Signed-off-by: Randy Dunlap <redacted>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Yury Norov <yury.norov@gmail.com>
---
 arch/powerpc/platforms/44x/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
--- lnx-511-rc4.orig/arch/powerpc/platforms/44x/Kconfig
+++ lnx-511-rc4/arch/powerpc/platforms/44x/Kconfig
@@ -206,6 +206,7 @@ config AKEBONO
        select PPC4xx_HSTA_MSI
        select I2C
        select I2C_IBM_IIC
+       select NET
        select NETDEVICES
        select ETHERNET
        select NET_VENDOR_IBM
@@ -213,6 +214,7 @@ config AKEBONO
        select USB if USB_SUPPORT
        select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
        select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
+       select MMC
        select MMC_SDHCI
        select MMC_SDHCI_PLTFM
        select ATA
Looks working, thanks.

Tested-by: Yury Norov <yury.norov@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help