From: Alif Zakuan Yuslaimi <[email protected]>

Commit 62f7a9460209 ("Replace TARGET namespace and cleanup properly")
replaces the TARGET namespace to ARCH for all SoCFPGA devices.

Some of the TARGET namespaces are still left out, update leftover TARGET
to ARCH following current SoCFPGA naming.

Fixes: 62f7a9460209 ("Replace TARGET namespace and cleanup properly")
Signed-off-by: Alif Zakuan Yuslaimi <[email protected]>
---

Changes in v2:
- Drop cmd/Kconfig changes; already covered by Brian Sune's patch:
  Message-Id: <[email protected]>
  
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
---
 arch/arm/mach-socfpga/board.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach-socfpga/board.c
index b202ca258bc..b662afc1ad7 100644
--- a/arch/arm/mach-socfpga/board.c
+++ b/arch/arm/mach-socfpga/board.c
@@ -210,8 +210,8 @@ void lmb_arch_add_memory(void)
 }
 #endif
 
-#if (defined(CONFIG_TARGET_SOCFPGA_ARRIA10) || \
-     defined(CONFIG_TARGET_SOCFPGA_GEN5)) && defined(CONFIG_XPL_BUILD)
+#if (defined(CONFIG_ARCH_SOCFPGA_ARRIA10) || \
+     defined(CONFIG_ARCH_SOCFPGA_GEN5)) && defined(CONFIG_XPL_BUILD)
 unsigned long board_spl_mmc_get_uboot_raw_sector(struct mmc *mmc,
                                                 unsigned long raw_sect)
 {
-- 
2.43.7

Reply via email to