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