]> git.baikalelectronics.ru Git - uboot.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)
commitec1188efdfffba867dd76673abd80c72c91c996d
treea53ab855c1f6487abf8eaa806aca9811b90b4c3e
parentc498f556a7844bdbe51a6c9f65c54c3a6eb067c4
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