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

When env support is disabled then usage of env_get_f() generates linker
errors. So do not compile env_get_f() when env support is disabled (for
example when disabled only in SPL).

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/ddr/fsl/options.c