configs: lx2160a: Access flash memory as per spi-mem
authorKuldeep Singh <kuldeep.singh@nxp.com>
Thu, 12 Mar 2020 09:43:00 +0000 (15:13 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 30 Mar 2020 02:42:13 +0000 (08:12 +0530)
commitb9804c35a877b11d128262b968d0a9499584c339
tree268ec028dbd951d9183a74a373faffe9f346c329
parent802dcce869867c76ddbf2c6b8a95221b5fc423b6
configs: lx2160a: Access flash memory as per spi-mem

MC_INIT and BOOT command currently access spi-nor flash memory directly.
As per spi-mem framework, flash memory access via absolute addresses is
no more possible. Use flash APIs to access memory instead of directly
using it.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/lx2160a_common.h