From f1698a8cf59db87ec54961b92523116e9f4c629c Mon Sep 17 00:00:00 2001
From: Tuomas Tynkkynen <tuomas@tuxera.com>
Date: Fri, 5 Jan 2018 02:45:18 +0200
Subject: [PATCH] ARM: poplar: Use Kconfig to enable CONFIG_FAT_WRITE

The symbol's been converted to Kconfig for a while, poplar is the only
one #defining it.

Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
---
 configs/poplar_defconfig | 1 +
 include/configs/poplar.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/poplar_defconfig b/configs/poplar_defconfig
index 8f6ac2de19..71ff228cad 100644
--- a/configs/poplar_defconfig
+++ b/configs/poplar_defconfig
@@ -17,4 +17,5 @@ CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
+CONFIG_FAT_WRITE=y
 CONFIG_LIB_RAND=y
diff --git a/include/configs/poplar.h b/include/configs/poplar.h
index 8a12b526a8..acdce29ba9 100644
--- a/include/configs/poplar.h
+++ b/include/configs/poplar.h
@@ -66,7 +66,6 @@
 #define CONFIG_SYS_MMC_ENV_DEV		0
 #define CONFIG_ENV_OFFSET		(0x780 * 512)	/* env_mmc_blknum */
 #define CONFIG_ENV_SIZE			0x10000	/* env_mmc_nblks bytes */
-#define CONFIG_FAT_WRITE
 #define CONFIG_ENV_VARS_UBOOT_CONFIG
 
 /* Monitor Command Prompt */
-- 
2.39.5