Skip to content
Snippets Groups Projects
Commit a779e37c authored by Cédric Le Goater's avatar Cédric Le Goater
Browse files

aspeed/smc: Introduce a new addr_width() class handler


The AST2400 SPI controller has a transitional HW interface and it
stores the address width currently in use in a different register than
all the other SMC controllers. It needs special handling when working
in 4B mode.

Make it clear through a class handler. This also removes another use
of the segments array.

Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
parent 71255c48
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment