fsl: layerscape: guard *env_sf_get_env_addr() on CONFIG_ENV_IS_IN_SPI_FLASH
authorTom Rini <trini@konsulko.com>
Tue, 19 Nov 2019 01:02:08 +0000 (20:02 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 20 Nov 2019 23:31:24 +0000 (18:31 -0500)
commitdbcb4dae36cf345bb937fe14af07bbf44ba394b5
treef7be2921cc2b4db9d06b12f90c58592c0165140a
parenta8992e788aba46f6f129af3111682be86236074f
fsl: layerscape: guard *env_sf_get_env_addr() on CONFIG_ENV_IS_IN_SPI_FLASH

These functions can only be built and used when we have
ENV_IS_IN_SPI_FLASH, use that as a guard.

Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/freescale/ls1043aqds/ls1043aqds.c
board/freescale/ls1046aqds/ls1046aqds.c
board/freescale/ls1088a/ls1088a.c