[PATCH v3 4/7] stm32mp1: use the command env info in env_check