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