]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: mach-k3: Use JTAD_ID register for device identification
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 17 Apr 2020 08:13:53 +0000 (13:43 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Sun, 19 Apr 2020 10:50:53 +0000 (16:20 +0530)
commite7510d443d30776248a2d5b8cc0e6b3161fb391b
treee5aa87d82b995c21c8445bf18d3d1519480aec3f
parent16c2a979fc73f13b6de281ccf6da2fddf471e6f5
arm: mach-k3: Use JTAD_ID register for device identification

JTAG ID register is defined by IEEE 1149.1 for device identification.
Use this JTAG ID register for identifying AM65x[0] and J721E[1] devices
instead of using SoC specific registers.

[0] http://www.ti.com/lit/ug/spruid7e/spruid7e.pdf
[1] http://www.ti.com/lit/ug/spruil1a/spruil1a.pdf

Reported-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h
arch/arm/mach-k3/include/mach/hardware.h