ARM: am3517_evm: Disable DM_I2C_COMPAT
authorAdam Ford <aford173@gmail.com>
Sun, 19 Aug 2018 16:11:03 +0000 (11:11 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Sep 2018 01:48:04 +0000 (21:48 -0400)
commit819ad5f625b17d189c5dcaec377c451fd3266def
treecd7fddd18fa4837d4f9be85bf2e77deda3e16017
parent8cd21a63463318b1f7c90778da364dd649c27ca9
ARM: am3517_evm: Disable DM_I2C_COMPAT

DM_I2C_COMPAT is somehow being enabled outside of Kconfig, so
this explicitly undefines it in the header file, and brackets
the I2C initialization around an #ifdef to not manually
initialize the I2C controller when the DM_I2C is enabled.

Signed-off-by: Adam Ford <aford173@gmail.com>
Tested-by: Derald D. Woods <woods.technical@gmail.com>
board/logicpd/am3517evm/am3517evm.c
include/configs/am3517_evm.h