T1042RDB_PI_NAND_SECURE_BOOT: Guard t104xrdb SPL env code
authorTom Rini <trini@konsulko.com>
Tue, 19 Nov 2019 01:02:09 +0000 (20:02 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 20 Nov 2019 23:31:24 +0000 (18:31 -0500)
commit8160c38ca1fde4386db5a4ee07e86e397a4914df
tree43fe751b15c6e1a6b88b16c4de86ad36fd13051b
parentdbcb4dae36cf345bb937fe14af07bbf44ba394b5
T1042RDB_PI_NAND_SECURE_BOOT: Guard t104xrdb SPL env code

We can only configure and set the environment in SPL when we have a
particular environment location set that is not "nowhere" like it is in
SECURE_BOOT designs.  Update the code to reflect that.

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