commit | 1004fcd4d4abf3e2da0a80a6895e0c21ee2dc652 | [log] [tgz] |
---|---|---|
author | Adam Ford <aford173@gmail.com> | Mon Aug 20 20:24:34 2018 -0500 |
committer | Tom Rini <trini@konsulko.com> | Tue Sep 11 21:38:42 2018 -0400 |
tree | 042280e4dfade4b33c2a5ca5127eec53af72bac4 | |
parent | b40404e0ea1372a25d607df8c47397b7483ffe37 [diff] |
DM: 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>