linux/drivers/media/pci/cobalt/cobalt-flash.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  Cobalt NOR flash functions
 *
 *  Copyright 2012-2015 Cisco Systems, Inc. and/or its affiliates.
 *  All rights reserved.
 */

#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/cfi.h>
#include <linux/time.h>

#include "cobalt-flash.h"

#define ADRS(offset)

static struct map_info cobalt_flash_map =;

static map_word flash_read16(struct map_info *map, unsigned long offset)
{}

static void flash_write16(struct map_info *map, const map_word datum,
			  unsigned long offset)
{}

static void flash_copy_from(struct map_info *map, void *to,
			    unsigned long from, ssize_t len)
{}

static void flash_copy_to(struct map_info *map, unsigned long to,
			  const void *from, ssize_t len)
{}

int cobalt_flash_probe(struct cobalt *cobalt)
{}

void cobalt_flash_remove(struct cobalt *cobalt)
{}