On Tue, 13 May 2014 13:28:17 +0200 Holger Schurig <holgerschurig@xxxxxxxxx> 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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox