[PATCH 4/9] ARM: imx27: Retrieve AVIC base address from devicetree

Fabio Estevam festevam at gmail.com
Fri Sep 11 11:38:42 EDT 2020


Hi Arnd,

On Fri, Sep 11, 2020 at 11:29 AM Arnd Bergmann <arnd at arndb.de> wrote:

> I see this function is identical to mx25_init_irq(). Maybe just move the code
> into mxc_init_irq() directly and pass NULL from mx27_init_irq()?

Yes, good idea. I will do as suggested on a follow-up series.

> Are you able to completely eliminate MX27_IO_ADDRESS()? If not,
> I probably wouldn't bother, but if you can, that sounds like a useful
> cleanup.

Yes, I plan to eliminate MX27_IO_ADDRESS(), MX31_IO_ADDRESS() and
MX35_IO_ADDRESS().

Will handle this in a follow-up series as well after this one lands in
linux-next.

Thanks,

Fabio Estevam



More information about the linux-arm-kernel mailing list