* [PATCH] arm: mach-k3: am642_init: Add missing ddr guard
@ 2021-06-24 17:16 Gowtham Tammana
2021-07-14 6:52 ` Lokesh Vutla
0 siblings, 1 reply; 2+ messages in thread
From: Gowtham Tammana @ 2021-06-24 17:16 UTC (permalink / raw)
To: Lokesh Vutla
Cc: Tom Rini, Praneeth Bajjuri, u-boot, Dave Gerlach, Gowtham Tammana
The `struct udevice *` reference is needed for either of the
K3_LOAD_SYSFW, K3_AM64_DDRSS config guards. Adding the missing
K3_AM64_DDRSS guard.
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
---
arch/arm/mach-k3/am642_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c
index 87e762bc65..51f6e81def 100644
--- a/arch/arm/mach-k3/am642_init.c
+++ b/arch/arm/mach-k3/am642_init.c
@@ -141,7 +141,7 @@ void do_dt_magic(void)
void board_init_f(ulong dummy)
{
-#if defined(CONFIG_K3_LOAD_SYSFW)
+#if defined(CONFIG_K3_LOAD_SYSFW) || defined(CONFIG_K3_AM64_DDRSS)
struct udevice *dev;
int ret;
#endif
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm: mach-k3: am642_init: Add missing ddr guard
2021-06-24 17:16 [PATCH] arm: mach-k3: am642_init: Add missing ddr guard Gowtham Tammana
@ 2021-07-14 6:52 ` Lokesh Vutla
0 siblings, 0 replies; 2+ messages in thread
From: Lokesh Vutla @ 2021-07-14 6:52 UTC (permalink / raw)
To: Gowtham Tammana
Cc: Lokesh Vutla, Praneeth Bajjuri, u-boot, Tom Rini, Dave Gerlach
On Thu, 24 Jun 2021 12:16:14 -0500, Gowtham Tammana wrote:
> The `struct udevice *` reference is needed for either of the
> K3_LOAD_SYSFW, K3_AM64_DDRSS config guards. Adding the missing
> K3_AM64_DDRSS guard.
Applied to https://source.denx.de/u-boot/custodians/u-boot-ti.git for-rc, thanks!
[1/1] arm: mach-k3: am642_init: Add missing ddr guard
https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/a27dd704ad
--
Thanks and Regards,
Lokesh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-14 6:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 17:16 [PATCH] arm: mach-k3: am642_init: Add missing ddr guard Gowtham Tammana
2021-07-14 6:52 ` Lokesh Vutla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.