[PATCH 5/6] powerpc/kconfig: Move cpu options after platform options
Michael Ellerman
mpe at ellerman.id.au
Tue Oct 13 11:11:38 AEDT 2015
On Mon, 2015-10-12 at 16:47 -0500, Scott Wood wrote:
> On Fri, 2015-10-09 at 08:09 +1100, Michael Ellerman wrote:
> > In general platforms are a more important configuration decision than
> > cpus, so the platforms should come first.
> >
> > My basis for saying that is that our cpu selection options are generally
> > just about tuning for a cpu, rather than enabling/disabling support for
> > a cpu. On the other hand disabling a platform means you can't boot on
> > those machines, and any associated cpu options should vanish.
>
> Kconfig.cputype *is* about enabling/disabling support for a cpu. On 32-bit,
> the first choice is between "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx",
> "Freescale 85xx", "Freescale 8xx", "AMCC 40x", "AMCC 44x, 46x or 47x", or
> "Freescale e200". Until that is set correctly, the platforms available for
> selection will not be correct.
>
> Likewise, on 64-bit one must choose book3s versus book3e, before going on to
> the tuning selection you describe above.
Ugh, this Kconfig mess shits me.
You're right, my testing was running menuconfig with an existing config, so
then the options look vaguely sane, but if you start with a blank config then
it's the wrong way around as you say.
So I'll drop this.
cheers
More information about the Linuxppc-dev
mailing list