From 4ca10b9ee5a6cba2360fcf9293e7e622f56b583e Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Sat, 30 Oct 2021 23:03:55 -0400
Subject: [PATCH] Convert CONFIG_BMP_16BPP to Kconfig

This converts the following to Kconfig:
   CONFIG_BMP_16BPP

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 configs/am335x_guardian_defconfig | 1 +
 include/configs/am335x_guardian.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig
index ea4032fe1f..9d9d6283e0 100644
--- a/configs/am335x_guardian_defconfig
+++ b/configs/am335x_guardian_defconfig
@@ -122,6 +122,7 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
 CONFIG_USB_ETHER=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_AM335X_LCD=y
+CONFIG_BMP_16BPP=y
 CONFIG_SPL_WDT=y
 # CONFIG_SPL_USE_TINY_PRINTF is not set
 CONFIG_SPL_OF_LIBFDT=y
diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h
index 68b4e4f590..a1f24bb2d1 100644
--- a/include/configs/am335x_guardian.h
+++ b/include/configs/am335x_guardian.h
@@ -80,7 +80,6 @@
 
 #endif /* ! CONFIG_SPL_BUILD */
 
-#define CONFIG_BMP_16BPP
 #define SPLASH_SCREEN_NAND_PART "nand0,10"
 #define SPLASH_SCREEN_BMP_FILE_SIZE 0x26000
 #define SPLASH_SCREEN_BMP_LOAD_ADDR 0x82000000
-- 
2.39.5