git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be609cd
)
arm: mach-k3: j721s2_init: Enable memory with CONFIG_K3_J721E_DDRSS
author
Dominik Haller
<d.haller@phytec.de>
Fri, 11 Aug 2023 10:04:44 +0000
(12:04 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 12 Oct 2023 18:06:05 +0000
(14:06 -0400)
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>
arch/arm/mach-k3/j721s2_init.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-k3/j721s2_init.c
b/arch/arm/mach-k3/j721s2_init.c
index
712a7e2
..
a5be84b
100644
(file)
--- 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);