linux/drivers/mtd/maps/ts5500_flash.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * ts5500_flash.c -- MTD map driver for Technology Systems TS-5500 board
 *
 * Copyright (C) 2004 Sean Young <[email protected]>
 *
 * Note:
 * - In order for detection to work, jumper 3 must be set.
 * - Drive A and B use the resident flash disk (RFD) flash translation layer.
 * - If you have created your own jffs file system and the bios overwrites
 *   it during boot, try disabling Drive A: and B: in the boot order.
 */

#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/types.h>


#define WINDOW_ADDR
#define WINDOW_SIZE

static struct map_info ts5500_map =;

static const struct mtd_partition ts5500_partitions[] =;

#define NUM_PARTITIONS

static struct mtd_info *mymtd;

static int __init init_ts5500_map(void)
{}

static void __exit cleanup_ts5500_map(void)
{}

module_init();
module_exit(cleanup_ts5500_map);

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();