[PATCH v4 01/16] gpio: Disable functions not used with of-platdata
Tom Rini
trini at konsulko.com
Thu Mar 4 19:13:57 CET 2021
On Thu, Feb 04, 2021 at 09:21:54PM -0700, Simon Glass wrote:
> These functions use devicetree and cannot work with of-platdata, which has
> no runtime devicetree.
>
> If they are used, the current linker error is confusing, since it talks
> about missing functions in the bowels of driver model.
>
> Avoid compiling these functions at all with of-platdata, so that a
> straightforward link error points to the problem.
>
> Series-changes; 3
> - Fix 'wprl' typo
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
>
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210304/911e0431/attachment.sig>
More information about the U-Boot
mailing list