Re: [PATCH 04/27] ARM: pxa: drop pxa310/pxa320/pxa93x support

From: Robert Jarzmik
Date: Thu Jan 12 2023 - 13:18:21 EST



"Arnd Bergmann" <arnd@xxxxxxxx> writes:

Hi Robert,
Hi Arnd,

Thanks for pointing this out, I thought that I had caught
all the missing dependencies ones after you pointed out
the AC97_BUS_NEW that I fixed in patch 14.
Sorry I've not seen this one in my previous review.

From what I can tell, commit b5aaaa666a85 ("ARM: pxa: add
Kconfig dependencies for ATAGS based boards"), the
PXA310/PXA320 DT support became dead code because
MACH_PXA3XX_DT only selects CPU_PXA300, so if it worked
before that commit, it now needs CONFIG_UNUSED_BOARD_FILES
and CONFIG_EXPERT as well as enabling one of the legacy
board files with the corresponding chip support.

If that's all you think is missing, I can add this
trivial patch as well and rework the series to not
drop code that depends on PXA310/PXA320:
Yes, that would be great !

Can you have a look at the other patches to see if there
are more removed drivers or platform bits that are currently
dead code but are actually required?
Yes, I've been through your whole serie and that's the
last thing I have identified. I've read carefully all the
patches now, and the whole serie looks good to me.

So with this patch and keeping the clocks and cpufreq
parts for pxa3*0, you can add everywhere my :

Acked-by: Robert Jarzmik <robert.jarzmik@xxxxxxx>

Cheers.

--
Robert