configs: da850evm: Remove DM_I2C_COMPAT
authorAdam Ford <aford173@gmail.com>
Fri, 10 Aug 2018 10:24:12 +0000 (05:24 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 20 Aug 2018 11:21:27 +0000 (07:21 -0400)
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>
configs/da850evm_defconfig

index 026355e..2ee02c7 100644 (file)
@@ -41,7 +41,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