linux/drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2015 Simon Arlott
 *
 * Derived from bcm63138_nand.c:
 * Copyright © 2015 Broadcom Corporation
 *
 * Derived from bcm963xx_4.12L.06B_consumer/shared/opensource/include/bcm963xx/63268_map_part.h:
 * Copyright 2000-2010 Broadcom Corporation
 *
 * Derived from bcm963xx_4.12L.06B_consumer/shared/opensource/flash/nandflash.c:
 * Copyright 2000-2010 Broadcom Corporation
 */

#include <linux/device.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/slab.h>

#include "brcmnand.h"

struct bcm6368_nand_soc {};

#define BCM6368_NAND_INT
#define BCM6368_NAND_STATUS_SHIFT
#define BCM6368_NAND_STATUS_MASK
#define BCM6368_NAND_ENABLE_SHIFT
#define BCM6368_NAND_ENABLE_MASK
#define BCM6368_NAND_BASE_ADDR0
#define BCM6368_NAND_BASE_ADDR1

enum {};

static bool bcm6368_nand_intc_ack(struct brcmnand_soc *soc)
{}

static void bcm6368_nand_intc_set(struct brcmnand_soc *soc, bool en)
{}

static int bcm6368_nand_probe(struct platform_device *pdev)
{}

static const struct of_device_id bcm6368_nand_of_match[] =;
MODULE_DEVICE_TABLE(of, bcm6368_nand_of_match);

static struct platform_driver bcm6368_nand_driver =;
module_platform_driver();

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