]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: mach-k3: Move J721e SoC detection out of common section
authorAndrew Davis <afd@ti.com>
Thu, 6 Apr 2023 16:38:11 +0000 (11:38 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 24 Apr 2023 17:18:47 +0000 (13:18 -0400)
commitca0973741d62e7c67270b723a6c25c8e855fb87c
tree1542f985dd2926b1eaa336baccd4972dd57e6c33
parent30e96a240156767d0d4e0a2e353ce68d22969938
arm: mach-k3: Move J721e SoC detection out of common section

This belongs in the J721e specific file as it is the only place
this is used. Any board level users should use the SOC driver.

While here, move the J721e and J7200 SoC IDs out of sys_proto.h
and into hardware.h. Use a macro borrowed from Rockchip and add
the rest of the SoC IDs for completeness and later use.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h
arch/arm/mach-k3/include/mach/hardware.h
arch/arm/mach-k3/include/mach/sys_proto.h