mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
arm: mach-k3: j721s2_init: Enable memory with CONFIG_K3_J721E_DDRSS
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>
This commit is contained in:
parent
be609cdb66
commit
2c6e28831b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue