Commit 1f957708 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini

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: 's avatarTom Rini <>
Signed-off-by: 's avatarLokesh Vutla <>
parent d2d9bdfc
......@@ -95,6 +95,9 @@ int print_cpuinfo(void)
case TI81XX:
cpu_s = "TI81XX";
case AM437X:
cpu_s = "AM437X";
cpu_s = "Unknown CPU type";
......@@ -110,7 +113,7 @@ int print_cpuinfo(void)
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;
......@@ -43,7 +43,8 @@
#define HS_DEVICE 0x2
#define GP_DEVICE 0x3
/* cpu-id for AM33XX and TI81XX family */
/* cpu-id for AM43XX AM33XX and TI81XX family */
#define AM437X 0xB98C
#define AM335X 0xB944
#define TI81XX 0xB81E
#define DEVICE_ID (CTRL_BASE + 0x0600)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment