From: Gowtham Tammana <g-tammana@ti.com>
To: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Tom Rini <trini@konsulko.com>, Praneeth Bajjuri <praneeth@ti.com>,
<u-boot@lists.denx.de>, Dave Gerlach <d-gerlach@ti.com>,
Gowtham Tammana <g-tammana@ti.com>
Subject: [PATCH] arm: mach-k3: am642_init: Add missing ddr guard
Date: Thu, 24 Jun 2021 12:16:14 -0500 [thread overview]
Message-ID: <20210624171614.14244-1-g-tammana@ti.com> (raw)
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
next reply other threads:[~2021-06-24 17:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-24 17:16 Gowtham Tammana [this message]
2021-07-14 6:52 ` [PATCH] arm: mach-k3: am642_init: Add missing ddr guard Lokesh Vutla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210624171614.14244-1-g-tammana@ti.com \
--to=g-tammana@ti.com \
--cc=d-gerlach@ti.com \
--cc=lokeshvutla@ti.com \
--cc=praneeth@ti.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.