]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: pfe_eth: Use spi_flash_read API to access flash memory
authorKuldeep Singh <kuldeep.singh@nxp.com>
Thu, 28 May 2020 06:12:53 +0000 (11:42 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Jul 2020 08:46:27 +0000 (14:16 +0530)
commite0152dbed683ed02af9294551fd4f03823ef7a5a
treea53ab855c1f6487abf8eaa806aca9811b90b4c3e
parent02decd4e0ccf1a1f6395f24dfa14e2578f3e6e29
net: pfe_eth: Use spi_flash_read API to access flash memory

Current PFE firmware access spi-nor memory directly. New spi-mem
framework does not support direct memory access. So, let's use
spi_flash_read API to access memory instead of directly using it.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/pfe_eth/pfe_firmware.c
include/configs/ls1012a_common.h