On Tue, 13 May 2014 10:28:48 +0200 Holger Schurig <holgerschurig@xxxxxxxxx> wrote: Can we use 1. consolidated CMD_CPUINFO option which is selectable on MIPS || ARM; 2. CMD_ARM_CPUINFO option which depends on ARM & CMD_CPUINFO; 3. CMD_MIPS_CPUINFO option which depends on MIPS & CMD_CPUINFO. > * this places the command into the "Information commands" > section of Kconfig > > Signed-off-by: Holger Schurig <holgerschurig@xxxxxxxxx> > --- > arch/mips/Kconfig | 7 ------- > commands/Kconfig | 8 ++++++++ > 2 files changed, 8 insertions(+), 7 deletions(-) > > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index 9a240b7..6ce7fff 100644 > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -274,13 +274,6 @@ endchoice > > menu "MIPS specific settings" > > -config CMD_MIPS_CPUINFO > - bool "cpuinfo command" > - default y > - help > - Say yes here to get a cpuinfo command to show some > - information about the cpu model. > - > config HAS_NMON > bool > > diff --git a/commands/Kconfig b/commands/Kconfig > index 9789af4..db091c4 100644 > --- a/commands/Kconfig > +++ b/commands/Kconfig > @@ -46,6 +46,14 @@ config CMD_ARM_CPUINFO > D-cache: 8192 bytes (linelen = 8) > Control register: M C W P D L I V RR DT IT U XP > > +config CMD_MIPS_CPUINFO > + bool "cpuinfo command" > + default y > + depends on MIPS > + help > + Say yes here to get a cpuinfo command to show some > + information about the cpu model. > + > config CMD_DEVINFO > tristate > default y > -- > 1.7.10.4 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox -- -- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox