commit | 410c505cc145d570662ef0f841a942e650f8b1df | [log] [tgz] |
---|---|---|
author | Adam Ford <aford173@gmail.com> | Mon Aug 20 20:24:35 2018 -0500 |
committer | Tom Rini <trini@konsulko.com> | Tue Sep 11 21:38:47 2018 -0400 |
tree | 3fc4bc92a0664e850810e8f2d4d88039efc80e0c | |
parent | afa8cdd60755784a74ec4683106a2abe718f9623 [diff] |
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>