Message ID | 20210624171614.14244-1-g-tammana@ti.com |
---|---|
State | Accepted |
Commit | ba7455a796d29b8bac9767433ccebd4b0899e7fd |
Delegated to: | Lokesh Vutla |
Headers | show |
Series | arm: mach-k3: am642_init: Add missing ddr guard | expand |
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
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
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(-)