Skip to contentSkip to conversation

configs: da850evm: Remove DM_I2C_COMPAT

PATCH In review Adam Ford 2 participants 2 messages Aug 10, 2018 – Aug 20, 2018

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 configs: da850evm: Remove DM_I2C_COMPAT

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

configs/da850evm_defconfig +0 -1
index ea56d01344..56d87334a7 100644
@@ -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
Signature · 1 line
2.17.1
#1 lore raw

configs/da850evm_defconfig

Quoted 16 lines · Adam Ford

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

configs/da850evm_defconfig +0 -0
index ea56d01344..56d87334a7 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180820/e400e435/attachment.sig>