]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ram: k3-ddrss: add am62a controller support
authorBryan Brattlof <bb@ti.com>
Fri, 4 Nov 2022 00:13:53 +0000 (19:13 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 9 Dec 2022 19:10:28 +0000 (14:10 -0500)
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 <bb@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/ram/Kconfig
drivers/ram/k3-ddrss/k3-ddrss.c

index bf279b79f6d1a91c01bba6077b2e5c046e8836a6..e085119963b6c69f848d6e722e5ac52c9d86417e 100644 (file)
@@ -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"
index e8b7aec9e0bb315bb1d4704db00fa379f4189287..7e445d2b737b393b36b4b0db2ac3ea99143c56e2 100644 (file)
@@ -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, },