[PATCH v5 22/32] mtd: spi-nor: xilinx: rename vendor specific functions and defines
Tudor.Ambarus at microchip.com
Tudor.Ambarus at microchip.com
Fri Feb 25 06:02:21 PST 2022
On 2/23/22 15:43, Michael Walle wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> Drop the generic spi_nor prefix for all the xilinx functions.
>
> Signed-off-by: Michael Walle <michael at walle.cc>
> Reviewed-by: Pratyush Yadav <p.yadav at ti.com>
> ---
> drivers/mtd/spi-nor/xilinx.c | 30 +++++++++++++++---------------
> 1 file changed, 15 insertions(+), 15 deletions(-)
>
> diff --git a/drivers/mtd/spi-nor/xilinx.c b/drivers/mtd/spi-nor/xilinx.c
> index 05c7fe843a7d..ffd5579d45cb 100644
> --- a/drivers/mtd/spi-nor/xilinx.c
> +++ b/drivers/mtd/spi-nor/xilinx.c
> @@ -8,9 +8,9 @@
>
> #include "core.h"
>
> -#define SPINOR_OP_XSE 0x50 /* Sector erase */
> -#define SPINOR_OP_XPP 0x82 /* Page program */
> -#define SPINOR_OP_XRDSR 0xd7 /* Read status register */
> +#define XILINX_OP_SE 0x50 /* Sector erase */
XILINX_NOR_OP_SE?
More information about the linux-mtd
mailing list