Skip to content
Snippets Groups Projects
Commit 902cc69a authored by Cyrille Pitchen's avatar Cyrille Pitchen
Browse files

mtd: spi-nor: rename SPINOR_OP_* macros of the 4-byte address op codes


This patch renames the SPINOR_OP_* macros of the 4-byte address
instruction set so the new names all share a common pattern: the 4-byte
address name is built from the 3-byte address name appending the "_4B"
suffix.

The patch also introduces new op codes to support other SPI protocols such
as SPI 1-4-4 and SPI 1-2-2.

This is a transitional patch and will help a later patch of spi-nor.c
to automate the translation from the 3-byte address op codes into their
4-byte address version.

Signed-off-by: default avatarCyrille Pitchen <cyrille.pitchen@atmel.com>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarMarek Vasut <marek.vasut@gmail.com>
parent 9e276de6
No related branches found
Tags 4.19.90-2104.1.0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment