diff options
author | Bryan Brattlof <bb@ti.com> | 2024-01-31 21:06:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-02-02 12:55:58 -0500 |
commit | d31061496f7398c7826b5bd80edeb7c5be024d51 (patch) | |
tree | 170ddfe6aaf5bd0722a3dc42bcd1582d2b5760c7 | |
parent | 05099d4e46bcdaa4e69fd34e197cb649cddffc38 (diff) | |
download | u-boot-d31061496f7398c7826b5bd80edeb7c5be024d51.zip u-boot-d31061496f7398c7826b5bd80edeb7c5be024d51.tar.gz u-boot-d31061496f7398c7826b5bd80edeb7c5be024d51.tar.bz2 |
soc: add info to identify the am62p SoC family
Include the part number for TI's am62px family of SoCs so we can
properly identify it during boot
Signed-off-by: Bryan Brattlof <bb@ti.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
-rw-r--r-- | arch/arm/mach-k3/include/mach/hardware.h | 2 | ||||
-rw-r--r-- | drivers/soc/soc_ti_k3.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/include/mach/hardware.h b/arch/arm/mach-k3/include/mach/hardware.h index a1a9dfb..0402881 100644 --- a/arch/arm/mach-k3/include/mach/hardware.h +++ b/arch/arm/mach-k3/include/mach/hardware.h @@ -46,6 +46,7 @@ #define JTAG_ID_PARTNO_J721S2 0xbb75 #define JTAG_ID_PARTNO_AM62X 0xbb7e #define JTAG_ID_PARTNO_AM62AX 0xbb8d +#define JTAG_ID_PARTNO_AM62PX 0xbb9d #define K3_SOC_ID(id, ID) \ static inline bool soc_is_##id(void) \ @@ -61,6 +62,7 @@ K3_SOC_ID(am64x, AM64X) K3_SOC_ID(j721s2, J721S2) K3_SOC_ID(am62x, AM62X) K3_SOC_ID(am62ax, AM62AX) +K3_SOC_ID(am62px, AM62PX) #define K3_SEC_MGR_SYS_STATUS 0x44234100 #define SYS_STATUS_DEV_TYPE_SHIFT 0 diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index 355a536..d7d0152 100644 --- a/drivers/soc/soc_ti_k3.c +++ b/drivers/soc/soc_ti_k3.c @@ -45,6 +45,9 @@ static const char *get_family_string(u32 idreg) case JTAG_ID_PARTNO_AM62AX: family = "AM62AX"; break; + case JTAG_ID_PARTNO_AM62PX: + family = "AM62PX"; + break; default: family = "Unknown Silicon"; }; |