From a581eba01d9acdaa73457a9bbbf30f518780dc97 Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Thu, 12 May 2022 17:35:40 -0400
Subject: [PATCH] spl: Remove CONFIG_SPL_BOARD_LOAD_IMAGE

This symbol has been unused in code for some time now, remove
the final references.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 arch/sandbox/include/asm/spl.h    | 2 --
 arch/x86/include/asm/spl.h        | 2 --
 include/configs/chromebook_link.h | 2 --
 include/configs/qemu-x86.h        | 2 --
 4 files changed, 8 deletions(-)

diff --git a/arch/sandbox/include/asm/spl.h b/arch/sandbox/include/asm/spl.h
index d25dc7c82a..bf5a585622 100644
--- a/arch/sandbox/include/asm/spl.h
+++ b/arch/sandbox/include/asm/spl.h
@@ -6,8 +6,6 @@
 #ifndef __asm_spl_h
 #define __asm_spl_h
 
-#define CONFIG_SPL_BOARD_LOAD_IMAGE
-
 enum {
 	BOOT_DEVICE_BOARD,
 };
diff --git a/arch/x86/include/asm/spl.h b/arch/x86/include/asm/spl.h
index cc6cac08f2..483cf702cb 100644
--- a/arch/x86/include/asm/spl.h
+++ b/arch/x86/include/asm/spl.h
@@ -7,8 +7,6 @@
 #ifndef __asm_spl_h
 #define __asm_spl_h
 
-#define CONFIG_SPL_BOARD_LOAD_IMAGE
-
 enum {
 	BOOT_DEVICE_SPI_MMAP	= 10,
 	BOOT_DEVICE_FAST_SPI,
diff --git a/include/configs/chromebook_link.h b/include/configs/chromebook_link.h
index 96d5cf1a33..0787359674 100644
--- a/include/configs/chromebook_link.h
+++ b/include/configs/chromebook_link.h
@@ -15,6 +15,4 @@
 #include <configs/x86-common.h>
 #include <configs/x86-chromebook.h>
 
-#define CONFIG_SPL_BOARD_LOAD_IMAGE
-
 #endif	/* __CONFIG_H */
diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h
index e9dbd54517..ba843e35a4 100644
--- a/include/configs/qemu-x86.h
+++ b/include/configs/qemu-x86.h
@@ -34,6 +34,4 @@
  *   - AHCI controller is supported for QEMU '-M q35' target
  */
 
-#define CONFIG_SPL_BOARD_LOAD_IMAGE
-
 #endif	/* __CONFIG_H */
-- 
2.39.5