[PATCH V2 04/17] board: ti: j721e: Guard functions with right #ifdef to avoid build warnings
Tom Rini
trini at konsulko.com
Mon Nov 8 16:49:54 CET 2021
On Tue, Nov 02, 2021 at 07:35:45PM +0530, Sinthu Raja wrote:
> From: Sinthu Raja <sinthu.raja at ti.com>
>
> board_late_init(), setup_board_eeprom_env() and setup_serial() is
> called only under CONFIG_BOARD_LATE_INIT, so guard these functions
> with the same.
>
> Signed-off-by: Sinthu Raja <sinthu.raja at ti.com>
> ---
>
> No chnages in V2.
>
> board/ti/j721e/evm.c | 4 ++++
> 1 file changed, 4 insertions(+)
We should probably re-order the code so that everything is under a
single #ifdef.
--
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/20211108/299bf6d7/attachment.sig>
More information about the U-Boot
mailing list