]> git.dujemihanovic.xyz Git - u-boot.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)
commitd948fc4e664a0e40870d7c4e2fc7e41179d99253
treef5592e2f74f46d5ee384f1ddeeb8e47494745e60
parentdf1fa2718f8700ff23e77dba9e5b2fdf5f6ba562
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