From: Bryan Brattlof Date: Fri, 4 Nov 2022 00:13:53 +0000 (-0500) Subject: ram: k3-ddrss: add am62a controller support X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=f54febe1b126b5ebede3d9784e07c10b9da299a1;p=u-boot.git ram: k3-ddrss: add am62a controller support TI's am62a family of SoCs uses a new 32bit DDR controller that shares much of the same functionality with the existing am64 and j721e controllers. Select this controller by default when u-boot is build for the am62a Signed-off-by: Bryan Brattlof Reviewed-by: Tom Rini --- diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig index bf279b79f6..e085119963 100644 --- a/drivers/ram/Kconfig +++ b/drivers/ram/Kconfig @@ -65,6 +65,7 @@ choice default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2 default K3_AM64_DDRSS if SOC_K3_AM642 default K3_AM64_DDRSS if SOC_K3_AM625 + default K3_AM62A_DDRSS if SOC_K3_AM62A7 config K3_J721E_DDRSS bool "Enable J721E DDRSS support" diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b/drivers/ram/k3-ddrss/k3-ddrss.c index e8b7aec9e0..7e445d2b73 100644 --- a/drivers/ram/k3-ddrss/k3-ddrss.c +++ b/drivers/ram/k3-ddrss/k3-ddrss.c @@ -706,6 +706,7 @@ static const struct k3_ddrss_data j721s2_data = { }; static const struct udevice_id k3_ddrss_ids[] = { + {.compatible = "ti,am62a-ddrss", .data = (ulong)&k3_data, }, {.compatible = "ti,am64-ddrss", .data = (ulong)&k3_data, }, {.compatible = "ti,j721e-ddrss", .data = (ulong)&k3_data, }, {.compatible = "ti,j721s2-ddrss", .data = (ulong)&j721s2_data, },