]> git.baikalelectronics.ru Git - uboot.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)
commit377a5f841e873757930cbd6e589db3387d8dd8c6
tree1542f985dd2926b1eaa336baccd4972dd57e6c33
parent1c245b3db29069810374d13f4fab2c49710eed4f
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