diff options
| author | Gowtham Tammana <[email protected]> | 2021-06-24 12:16:14 -0500 |
|---|---|---|
| committer | Lokesh Vutla <[email protected]> | 2021-07-15 17:56:04 +0530 |
| commit | ba7455a796d29b8bac9767433ccebd4b0899e7fd (patch) | |
| tree | e91c39e1c21183a3cdbb97a5dfc78017934464a6 | |
| parent | d3ece2bcae6c7cfaaacd22f864edbc689f933b40 (diff) | |
arm: mach-k3: am642_init: Add missing ddr guard
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 <[email protected]>
Signed-off-by: Lokesh Vutla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
| -rw-r--r-- | arch/arm/mach-k3/am642_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c index 579dbacb7e4..0e46d70e842 100644 --- a/arch/arm/mach-k3/am642_init.c +++ b/arch/arm/mach-k3/am642_init.c @@ -141,7 +141,7 @@ int fdtdec_board_setup(const void *fdt_blob) 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 |
