From b7fbdc55c7c72e97595f1f3233c0e9477c97c52b Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Thu, 12 May 2022 16:12:16 -0400
Subject: [PATCH] Convert CONFIG_HUSH_INIT_VAR to Kconfig

This converts the following to Kconfig:
   CONFIG_HUSH_INIT_VAR

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 board/keymile/Kconfig                  | 3 +++
 include/configs/km/keymile-common.h    | 2 --
 include/configs/socfpga_arria5_secu1.h | 1 -
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/board/keymile/Kconfig b/board/keymile/Kconfig
index 863c07db47..f22faee0ee 100644
--- a/board/keymile/Kconfig
+++ b/board/keymile/Kconfig
@@ -11,6 +11,9 @@ if VENDOR_KM
 
 menu "KM Board Setup"
 
+config HUSH_INIT_VAR
+	def_bool y
+
 config KM_PNVRAM
 	hex "Pseudo RAM"
 	default 0x80000
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 64d121bb5b..4bca1a7830 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -13,8 +13,6 @@
  * Miscellaneous configurable options
  */
 
-#define CONFIG_HUSH_INIT_VAR
-
 #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, 230400 }
 
 #define CONFIG_LOADS_ECHO
diff --git a/include/configs/socfpga_arria5_secu1.h b/include/configs/socfpga_arria5_secu1.h
index 88fd8ae44c..3a77c71874 100644
--- a/include/configs/socfpga_arria5_secu1.h
+++ b/include/configs/socfpga_arria5_secu1.h
@@ -9,7 +9,6 @@
 #include <asm/arch/base_addr_ac5.h>
 #include <linux/stringify.h>
 
-#define CONFIG_HUSH_INIT_VAR
 /* Eternal oscillator */
 #define CONFIG_SYS_TIMER_RATE	40000000
 
-- 
2.39.5