Re: [PATCH] of/address: Drop ISA parts when !CONFIG_ISA

From: Daniel Palmer

Date: Thu Jul 02 2026 - 05:16:25 EST


Hi Rob,

On Wed, 1 Jul 2026 at 01:48, Rob Herring <robh@xxxxxxxxxx> wrote:
> > I made a series that adds CONFIG_OF_ISA to enable this code, selects
> > it in the places that needs it, and then does the original part of
> > disabling the code if not needed. I will wait a bit before sending.
> > The reason to do this is I am using devicetree to boot a machine with
> > 4MB of RAM and a 7MHz CPU. Removing dead code/data like this helps.
>
> I tend to not want more CONFIG_OF_foo options, but okay I guess.
>
> Alternatively, maybe CONFIG_ISA should just be enabled with these
> drivers. Doesn't really look like there's actually much or any code for
> CONFIG_ISA. The biggest issue might be the option doesn't exist on
> arm64.

I guess I'll try sending a patch for arm64 to add CONFIG_ISA and
select it for the drivers that need the ISA bits in address.c

Thanks,

Daniel