diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-10-04 04:04:50 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-08 13:33:36 (GMT) |
commit | 1f957708072e153637718497f7a1a6e364220337 (patch) | |
tree | 67d6b1116768e4fae615ef850cc7d5f9db008331 /arch/arm/cpu/armv7/am33xx | |
parent | d2d9bdfcf9bdd6a39119c19c644189fccbe588cc (diff) | |
download | u-boot-1f957708072e153637718497f7a1a6e364220337.tar.xz |
ARM: AM437X: Add Silicon ID support
Add silicon ID code for AM437x silicon. This can be used to print
the cpu info using CONFIG_DISPLAY_CPUINFO.
Also printing "CPU :" along with cpu name in order to be consistent
with other OMAP platforms.
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/am33xx')
-rw-r--r-- | arch/arm/cpu/armv7/am33xx/sys_info.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/sys_info.c b/arch/arm/cpu/armv7/am33xx/sys_info.c index f42eee1..f0f72fa 100644 --- a/arch/arm/cpu/armv7/am33xx/sys_info.c +++ b/arch/arm/cpu/armv7/am33xx/sys_info.c @@ -95,6 +95,9 @@ int print_cpuinfo(void) case TI81XX: cpu_s = "TI81XX"; break; + case AM437X: + cpu_s = "AM437X"; + break; default: cpu_s = "Unknown CPU type"; break; @@ -110,7 +113,7 @@ int print_cpuinfo(void) else sec_s = "?"; - printf("%s-%s rev %s\n", cpu_s, sec_s, rev_s); + printf("CPU : %s-%s rev %s\n", cpu_s, sec_s, rev_s); return 0; } |