diff options
author | Bryan Brattlof <bb@ti.com> | 2022-11-03 19:13:53 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-09 14:10:28 -0500 |
commit | f54febe1b126b5ebede3d9784e07c10b9da299a1 (patch) | |
tree | e7b24047de1ab52d836d257d51705225d0a28d64 | |
parent | 6bdfa69155d8816ccb0512ed8b4adf19c3b8cc32 (diff) | |
download | u-boot-f54febe1b126b5ebede3d9784e07c10b9da299a1.zip u-boot-f54febe1b126b5ebede3d9784e07c10b9da299a1.tar.gz u-boot-f54febe1b126b5ebede3d9784e07c10b9da299a1.tar.bz2 |
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 <bb@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/ram/Kconfig | 1 | ||||
-rw-r--r-- | drivers/ram/k3-ddrss/k3-ddrss.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig index bf279b7..e085119 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 e8b7aec..7e445d2 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, }, |