Skip to content
Commit 68183ce1 authored by Kevin Wang's avatar Kevin Wang Committed by Chris Friedt
Browse files

drivers: spi: atcspi200: determining if spi is used as a flash controller



XIP may indicate that the program is executed either in local memory
or flash. However, the SPI node is only used as a flash controller
when the program is executed in flash.
Therefore, optimize the related checks to ensure that when XIP is
enabled but the program is executed in local memory, the SPI node
can still be used.

Signed-off-by: default avatarKevin Wang <kevinwang821020@google.com>
parent f817f620
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment