Searched refs:ucode_flash (Results 1 – 2 of 2) sorted by relevance
152 struct spi_flash *ucode_flash; in cs4340_upload_firmware() local155 ucode_flash = spi_flash_probe(CONFIG_ENV_SPI_BUS, CONFIG_ENV_SPI_CS, in cs4340_upload_firmware()157 if (!ucode_flash) { in cs4340_upload_firmware()160 ret = spi_flash_read(ucode_flash, CONFIG_CORTINA_FW_ADDR, in cs4340_upload_firmware()164 spi_flash_free(ucode_flash); in cs4340_upload_firmware()
367 struct spi_flash *ucode_flash; in fm_init_common() local378 ucode_flash = dev_get_uclass_priv(new); in fm_init_common()380 ucode_flash = spi_flash_probe(CONFIG_ENV_SPI_BUS, CONFIG_ENV_SPI_CS, in fm_init_common()383 if (!ucode_flash) in fm_init_common()386 ret = spi_flash_read(ucode_flash, CONFIG_SYS_FMAN_FW_ADDR, in fm_init_common()390 spi_flash_free(ucode_flash); in fm_init_common()