linux/drivers/mtd/spi-nor/winbond.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2005, Intec Automation Inc.
 * Copyright (C) 2014, Freescale Semiconductor, Inc.
 */

#include <linux/mtd/spi-nor.h>

#include "core.h"

#define WINBOND_NOR_OP_RDEAR
#define WINBOND_NOR_OP_WREAR

#define WINBOND_NOR_WREAR_OP(buf)

static int
w25q256_post_bfpt_fixups(struct spi_nor *nor,
			 const struct sfdp_parameter_header *bfpt_header,
			 const struct sfdp_bfpt *bfpt)
{}

static const struct spi_nor_fixups w25q256_fixups =;

static const struct flash_info winbond_nor_parts[] =;

/**
 * winbond_nor_write_ear() - Write Extended Address Register.
 * @nor:	pointer to 'struct spi_nor'.
 * @ear:	value to write to the Extended Address Register.
 *
 * Return: 0 on success, -errno otherwise.
 */
static int winbond_nor_write_ear(struct spi_nor *nor, u8 ear)
{}

/**
 * winbond_nor_set_4byte_addr_mode() - Set 4-byte address mode for Winbond
 * flashes.
 * @nor:	pointer to 'struct spi_nor'.
 * @enable:	true to enter the 4-byte address mode, false to exit the 4-byte
 *		address mode.
 *
 * Return: 0 on success, -errno otherwise.
 */
static int winbond_nor_set_4byte_addr_mode(struct spi_nor *nor, bool enable)
{}

static const struct spi_nor_otp_ops winbond_nor_otp_ops =;

static int winbond_nor_late_init(struct spi_nor *nor)
{}

static const struct spi_nor_fixups winbond_nor_fixups =;

const struct spi_nor_manufacturer spi_nor_winbond =;