]> git.baikalelectronics.ru Git - uboot.git/commit
DM: OMAP24XX_I2C: Reduce overhead when used with OF_PLATDATA
authorAdam Ford <aford173@gmail.com>
Tue, 21 Aug 2018 01:24:35 +0000 (20:24 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Sep 2018 01:38:47 +0000 (21:38 -0400)
commita61e6b5203c2ab4dcaab6afc5f897ff8ac4e62ec
tree3fc4bc92a0664e850810e8f2d4d88039efc80e0c
parent5b6db06778b13372a11dfe01c59378b06128ed65
DM: OMAP24XX_I2C: Reduce overhead when used with OF_PLATDATA

Platforms with limited resources in SPL may enably OF_PLATDATA,
this limits some of the library functions and cannot extract data
from the device tree.  This patch adds additional wrappers around
these functions to only allow them when OF_CONTROL is enabled and
OF_PLATDATA is not.

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/i2c/omap24xx_i2c.c