Fixes UBL, U-boot and env settings for NAND boot