[PATCH 08/19] commands: move CMD_MIPS_CPUINFO to commands/Kconfig
Antony Pavlov
antonynpavlov at gmail.com
Tue May 13 05:23:40 PDT 2014
On Tue, 13 May 2014 13:28:17 +0200
Holger Schurig <holgerschurig at gmail.com> wrote:
> Hi,
>
> i thought about having exactly one CONFIG_CMD_CPUINFO. No need for
> your steps 2. and 3., because both arch/arm/Makefile and
> arch/arm/Makefile could do "obj-$(CONFIG_CMD_CPUINFO) += cpuinfo.o",
> you cannot compile for ARM and MIPS at the same time anyway.
>
You right, steps 2 and 3 are redundunt. I have forgotten that you move Kconfig, but you don't touch cpuinfo.c.
> However, I decided against it. Because then I'd have to remove the
> example "cpuinfo" output from them the Kconfig help.
Can we move example 'cpuinfo' output to *.dox?
> Just that generally I'd like to have output example in the Kconfig, so
> that people see at "make xconfig" time if they want this command or
> not. I, for example, don't want "cpuinfo", I know which CPU is
> soldered into the board :-)
There are pin-to-pin compatible SoC revisions that use just the same package.
cpuinfo can help you to determinate the exact SoC version :)
--
Best regards,
Antony Pavlov
More information about the barebox
mailing list