mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
ARM: OMAP2+: AM437x: SoC revision detection
Detect 437x SoC revision. Signed-off-by: Afzal Mohammed <afzal@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
c664d0a9a1
commit
c04bbaa46c
1 changed files with 6 additions and 0 deletions
|
@ -209,6 +209,8 @@ static void __init omap3_cpuinfo(void)
|
||||||
cpu_name = "TI816X";
|
cpu_name = "TI816X";
|
||||||
} else if (soc_is_am335x()) {
|
} else if (soc_is_am335x()) {
|
||||||
cpu_name = "AM335X";
|
cpu_name = "AM335X";
|
||||||
|
} else if (soc_is_am437x()) {
|
||||||
|
cpu_name = "AM437x";
|
||||||
} else if (cpu_is_ti814x()) {
|
} else if (cpu_is_ti814x()) {
|
||||||
cpu_name = "TI814X";
|
cpu_name = "TI814X";
|
||||||
} else if (omap3_has_iva() && omap3_has_sgx()) {
|
} else if (omap3_has_iva() && omap3_has_sgx()) {
|
||||||
|
@ -430,6 +432,10 @@ void __init omap3xxx_check_revision(void)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 0xb98c:
|
||||||
|
omap_revision = AM437X_REV_ES1_0;
|
||||||
|
cpu_rev = "1.0";
|
||||||
|
break;
|
||||||
case 0xb8f2:
|
case 0xb8f2:
|
||||||
switch (rev) {
|
switch (rev) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue