A number of the ColdFire SoCs support reading the exact SoC type. Read that at system startup and report the exact type whenever possible. The early ColdFire parts had no way to self identify, so it is only the newer families and their members that support some mechanism for reading back a chip identifier. Unfortunately there is no consistent way to get at that identifier. Some chips implement a Chip Identification Register, though on some parts it is 16bits and on others 32bits. Some implement a Device ID register, and others implement a JTAG identifier which can be used to determine exact SoC. So probing of ID is specific to each family. In many cases if we can read a chip ID we can also get a chip revision. Read and report that as well when possible. Signed-off-by: Greg Ungerer <gerg@xxxxxxxxxxxxxx> --- arch/m68k/include/asm/m520xsim.h | 10 +++++++++ arch/m68k/include/asm/m523xsim.h | 9 ++++++++ arch/m68k/include/asm/m525xsim.h | 10 +++++++++ arch/m68k/include/asm/m527xsim.h | 10 +++++++++ arch/m68k/include/asm/m528xsim.h | 9 ++++++++ arch/m68k/include/asm/m53xxsim.h | 16 ++++++++++++++ arch/m68k/include/asm/m5441xsim.h | 13 +++++++++++ arch/m68k/include/asm/m54xxsim.h | 12 ++++++++++ arch/m68k/kernel/setup_no.c | 21 +++++++++++++++--- b/arch/m68k/coldfire/m520x.c | 21 ++++++++++++++++++ b/arch/m68k/coldfire/m523x.c | 13 +++++++++++ b/arch/m68k/coldfire/m5249.c | 12 ++++++++++ b/arch/m68k/coldfire/m525x.c | 12 ++++++++++ b/arch/m68k/coldfire/m5272.c | 11 +++++++++ b/arch/m68k/coldfire/m527x.c | 22 +++++++++++++++++++ b/arch/m68k/coldfire/m528x.c | 13 +++++++++++ b/arch/m68k/coldfire/m53xx.c | 40 ++++++++++++++++++++++++++++++++++++ b/arch/m68k/coldfire/m5441x.c | 29 ++++++++++++++++++++++++++ b/arch/m68k/coldfire/m54xx.c | 27 ++++++++++++++++++++++++ b/arch/m68k/include/asm/m5206sim.h | 2 - b/arch/m68k/include/asm/m520xsim.h | 2 - b/arch/m68k/include/asm/m523xsim.h | 2 - b/arch/m68k/include/asm/m525xsim.h | 2 - b/arch/m68k/include/asm/m5272sim.h | 2 - b/arch/m68k/include/asm/m527xsim.h | 2 - b/arch/m68k/include/asm/m528xsim.h | 2 - b/arch/m68k/include/asm/m5307sim.h | 2 - b/arch/m68k/include/asm/m53xxsim.h | 2 - b/arch/m68k/include/asm/m5407sim.h | 2 - b/arch/m68k/include/asm/m5441xsim.h | 2 - b/arch/m68k/include/asm/m54xxsim.h | 2 - b/arch/m68k/include/asm/setup.h | 2 + b/arch/m68k/kernel/setup_mm.c | 4 ++- b/arch/m68k/kernel/setup_no.c | 10 ++++----- 34 files changed, 328 insertions(+), 22 deletions(-)