doc: fix: Replace SPL_OF_PLATDATA with OF_PLATDATA in examples
authorLukasz Majewski <lukma@denx.de>
Tue, 3 Sep 2019 13:43:19 +0000 (15:43 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 19 Sep 2019 16:54:28 +0000 (12:54 -0400)
commit5f8f46ee6a5c5c4afc7354db961b14bc4233e4a0
tree652da1b2828da47ac8d42df80e4c907a8d8e68b1
parentd64e01f367c90ec7791ec3982abe191fe82953c8
doc: fix: Replace SPL_OF_PLATDATA with OF_PLATDATA in examples

The of-plat.rst file till this change has been using

This is at best misleading as SPL_OF_PLATDATA is always defined when we
want to use this SPL tinification feature (also in U-Boot proper).
As a result the OF_PLATDATA SPL specific code is also compiled in when
U-Boot proper is build.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/driver-model/of-plat.rst