]> git.baikalelectronics.ru Git - uboot.git/commit
board: ti: j721e: Guard functions with right #ifdef to avoid build warnings
authorSinthu Raja <sinthu.raja@ti.com>
Wed, 9 Feb 2022 09:36:48 +0000 (15:06 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 16 Feb 2022 19:19:30 +0000 (14:19 -0500)
commite80d39ffd91625af5838282ab8904439f91ec5c4
treef5592e2f74f46d5ee384f1ddeeb8e47494745e60
parent7338b49e7e419b92986dba6d42ad4a87b7401b98
board: ti: j721e: Guard functions with right #ifdef to avoid build warnings

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. Also, reorder these functions to place it under
single #ifdef

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
board/ti/j721e/evm.c