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