Skip to content
Commit ba98dfd9 authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Anas Nashif
Browse files

drivers: memc: memc_mcux_flexspi: correctly handle multi-device usage



When multiple devices are used, the FLEXSPI will place their address
spaces sequentially (based on the chip select port used). Additionally,
each device must use different sections of the FLEXSPI LUT table.

Fix the following calculation issues with multi-device usage:
- correct calculation of LUT sequence indices for AHB commands
- correctly add address and sequence offset when submitting FLEXSPI IP
  transfer

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent 481462d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment