lkml.org 
[lkml]   [2022]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] PCI: Allow building CONFIG_OF drivers with COMPILE_TEST
On Thu, Nov 17, 2022 at 09:55:08AM +0100, Geert Uytterhoeven wrote:
> On Wed, Nov 16, 2022 at 9:51 PM Bjorn Helgaas <helgaas@kernel.org> wrote:
> > From: Bjorn Helgaas <bhelgaas@google.com>

> > config PCI_HISI
> > - depends on OF && (ARM64 || COMPILE_TEST)
> > bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
> > + depends on ARM64 || COMPILE_TEST
> > + depends on OF || COMPILE_TEST
>
> Note that ARM64 selects OF, so this (and a few others) could be
> simplified by dropping the "depends on OF || COMPILE_TEST".
> But that might be the scope of a different patch?

Hmm, yes. I don't really know what to do here, so I left it for now.
ARM64 does indeed select OF, but I'm not sure whether that's an actual
arch dependency or just a convenience because most ARM64 platforms
rely on it. I know there are some that use ACPI, and I don't know
whether they *also* need OF.

Bjorn

\
 
 \ /
  Last update: 2022-11-17 20:38    [W:0.058 / U:24.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site