diff options
author | Dominik Haller <d.haller@phytec.de> | 2023-08-11 12:04:44 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-12 14:06:05 -0400 |
commit | 2c6e28831b3f42b841bbb3b984213da20f638440 (patch) | |
tree | 8ebbbc45567c10821cf27917a7ee708f86fc2db2 | |
parent | be609cdb661f2aef76f376d9def190d4ccddd4d9 (diff) | |
download | u-boot-WIP/2023-10-12-assorted-TI-platform-updates.zip u-boot-WIP/2023-10-12-assorted-TI-platform-updates.tar.gz u-boot-WIP/2023-10-12-assorted-TI-platform-updates.tar.bz2 |
arm: mach-k3: j721s2_init: Enable memory with CONFIG_K3_J721E_DDRSSWIP/2023-10-12-assorted-TI-platform-updates
Make that condition more generic by checking if the memory controller
driver is enabled instead of using the EVM's config.
Signed-off-by: Dominik Haller <d.haller@phytec.de>
-rw-r--r-- | arch/arm/mach-k3/j721s2_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-k3/j721s2_init.c b/arch/arm/mach-k3/j721s2_init.c index 712a7e2..a5be84b 100644 --- a/arch/arm/mach-k3/j721s2_init.c +++ b/arch/arm/mach-k3/j721s2_init.c @@ -219,7 +219,7 @@ void k3_mem_init(void) struct udevice *dev; int ret; - if (IS_ENABLED(CONFIG_TARGET_J721S2_R5_EVM)) { + if (IS_ENABLED(CONFIG_K3_J721E_DDRSS)) { ret = uclass_get_device_by_name(UCLASS_MISC, "msmc", &dev); if (ret) panic("Probe of msmc failed: %d\n", ret); |