[U-Boot] configs: da850evm: Remove DM_I2C_COMPAT

Message ID 20180810102412.15353-1-aford173@gmail.com
State Accepted
Commit 391328dc30b78be6f0d1181088eda0fd7febd5f3
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot] configs: da850evm: Remove DM_I2C_COMPAT
Related show

Commit Message

Adam Ford Aug. 10, 2018, 10:24 a.m.
Since using DM_I2C_COMPAT throws a warning during compilation,
and it isn't really needed any longer, so this patch removes
this feature and shrinks the code a bit.

from:
   text	   data	    bss	    dec	    hex	filename
 343326	  13388	 123448	 480162	  753a2	u-boot

to:
   text	   data	    bss	    dec	    hex	filename
 342924	  13380	 123440	 479744	  75200	u-boot

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Tom Rini Aug. 20, 2018, 5:40 p.m. | #1
On Fri, Aug 10, 2018 at 05:24:12AM -0500, Adam Ford wrote:

> Since using DM_I2C_COMPAT throws a warning during compilation,
> and it isn't really needed any longer, so this patch removes
> this feature and shrinks the code a bit.
> 
> from:
>    text	   data	    bss	    dec	    hex	filename
>  343326	  13388	 123448	 480162	  753a2	u-boot
> 
> to:
>    text	   data	    bss	    dec	    hex	filename
>  342924	  13380	 123440	 479744	  75200	u-boot
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> 
> diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig
> index ea56d01344..56d87334a7 100644

Applied to u-boot/master, thanks!

Patch

diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig
index ea56d01344..56d87334a7 100644
--- a/configs/da850evm_defconfig
+++ b/configs/da850evm_defconfig
@@ -39,7 +39,6 @@  CONFIG_DM=y
 CONFIG_DM_GPIO=y
 CONFIG_DA8XX_GPIO=y
 CONFIG_DM_I2C=y
-CONFIG_DM_I2C_COMPAT=y
 CONFIG_SYS_I2C_DAVINCI=y
 CONFIG_MTD_DEVICE=y
 CONFIG_MTD_PARTITIONS=y