diff mbox series

[U-Boot] arm: zynq: zybo: migrate CONFIG_DISPLAY to defconfig

Message ID 20180913040207.23265-1-luaraneda@gmail.com
State Accepted
Commit 50f56e50d05aac364be1f05e0bed78fb344cb043
Delegated to: Michal Simek
Headers show
Series [U-Boot] arm: zynq: zybo: migrate CONFIG_DISPLAY to defconfig | expand

Commit Message

Luis Araneda Sept. 13, 2018, 4:02 a.m. UTC
Only add CONFIG_DISPLAY to defconfig because CONFIG_I2C_EDID
is automatically selected by CONFIG_DISPLAY

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
---
 configs/zynq_zybo_defconfig | 1 +
 include/configs/zynq_zybo.h | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

Comments

Michal Simek Sept. 13, 2018, 7:51 a.m. UTC | #1
On 13.9.2018 06:02, Luis Araneda wrote:
> Only add CONFIG_DISPLAY to defconfig because CONFIG_I2C_EDID
> is automatically selected by CONFIG_DISPLAY
> 
> Signed-off-by: Luis Araneda <luaraneda@gmail.com>
> ---
>  configs/zynq_zybo_defconfig | 1 +
>  include/configs/zynq_zybo.h | 2 --
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig
> index 46a8f5a0de..82931713a2 100644
> --- a/configs/zynq_zybo_defconfig
> +++ b/configs/zynq_zybo_defconfig
> @@ -72,3 +72,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
>  CONFIG_CI_UDC=y
>  CONFIG_USB_GADGET_DOWNLOAD=y
>  CONFIG_USB_FUNCTION_THOR=y
> +CONFIG_DISPLAY=y
> diff --git a/include/configs/zynq_zybo.h b/include/configs/zynq_zybo.h
> index 547ecb68fd..7d00b412a7 100644
> --- a/include/configs/zynq_zybo.h
> +++ b/include/configs/zynq_zybo.h
> @@ -12,8 +12,6 @@
>  
>  #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	1
>  #define CONFIG_ZYNQ_GEM_EEPROM_ADDR	0x50
> -#define CONFIG_DISPLAY
> -#define CONFIG_I2C_EDID
>  
>  #include <configs/zynq-common.h>
>  
> 

Applied.
M
diff mbox series

Patch

diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig
index 46a8f5a0de..82931713a2 100644
--- a/configs/zynq_zybo_defconfig
+++ b/configs/zynq_zybo_defconfig
@@ -72,3 +72,4 @@  CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USB_FUNCTION_THOR=y
+CONFIG_DISPLAY=y
diff --git a/include/configs/zynq_zybo.h b/include/configs/zynq_zybo.h
index 547ecb68fd..7d00b412a7 100644
--- a/include/configs/zynq_zybo.h
+++ b/include/configs/zynq_zybo.h
@@ -12,8 +12,6 @@ 
 
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	1
 #define CONFIG_ZYNQ_GEM_EEPROM_ADDR	0x50
-#define CONFIG_DISPLAY
-#define CONFIG_I2C_EDID
 
 #include <configs/zynq-common.h>