commit | 49b777670e94b92416ab950c83194cf7054a283a | [log] [tgz] |
---|---|---|
author | Adam Ford <aford173@gmail.com> | Mon Aug 20 20:27:48 2018 -0500 |
committer | Tom Rini <trini@konsulko.com> | Tue Sep 11 21:38:52 2018 -0400 |
tree | e26aa27d535a20f9e629851aec498ddbe8d4fa56 | |
parent | 1f098464ed362b41a19a8548e2e8e36fc99c5597 [diff] |
DM: omap_gpio: Reduce overhead when used with OF_PLATDATA Platforms with limited resources in SPL may enable 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> Reviewed-by: Simon Glass <sjg@chromium.org>