]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: freescale: p1_p2_rdb_pc: Allow to compile it without env support
authorPali Rohár <pali@kernel.org>
Sat, 2 Apr 2022 22:24:27 +0000 (00:24 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
commit03edf23376cd63142624bca8a58477e0c99f4cb0
treef716b3b0334fe62e327532037e8ef197266ba0ee
parent78cdaf405311682281d9c5f58dc0b4455e72da61
board: freescale: p1_p2_rdb_pc: Allow to compile it without env support

When env support is disabled then usage of env_init() or env_relocate()
generates linker errors. So do not compile env_init() or env_relocate()
in SPL code when env support is disabled in SPL.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/p1_p2_rdb_pc/spl.c