add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env