[PATCH] sunxi: Use kconfig instead define CONFIG_I2C_EDID

Игорь Юрасов uis9936 at gmail.com
Tue Feb 16 09:31:18 CET 2021


Signed-off-by: Igor Iurasov <uis9936 at gmail.com>

---
 arch/arm/mach-sunxi/Kconfig    | 1 +
 include/configs/sunxi-common.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 0135575ca1..1ffdc3de1d 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -818,6 +818,7 @@ config VIDEO_SUNXI
  depends on !SUN50I_GEN_H6
  select VIDEO
  imply VIDEO_DT_SIMPLEFB
+ imply I2C_EDID
  default y
  ---help---
  Say Y here to add support for using a cfb console on the HDMI, LCD
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 000f386470..068aef2f5a 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -265,7 +265,6 @@ extern int soft_i2c_gpio_scl;

 #define CONFIG_VIDEO_LOGO
 #define CONFIG_VIDEO_STD_TIMINGS
-#define CONFIG_I2C_EDID
 #define VIDEO_LINE_LEN (pGD->plnSizeX)

 /* allow both serial and cfb console. */
-- 
2.26.2


More information about the U-Boot mailing list