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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright © 2015 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 bcmbca_nand_soc {};

#define BCMBCA_NAND_INT_STATUS
#define BCMBCA_NAND_INT_EN

enum {};

#if defined(CONFIG_ARM64)
#define ALIGN_REQ
#else
#define ALIGN_REQ
#endif

static inline bool bcmbca_nand_is_buf_aligned(void *flash_cache,  void *buffer)
{}

static bool bcmbca_nand_intc_ack(struct brcmnand_soc *soc)
{}

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

static void bcmbca_read_data_bus(struct brcmnand_soc *soc,
				 void __iomem *flash_cache,  u32 *buffer, int fc_words)
{}

static int bcmbca_nand_probe(struct platform_device *pdev)
{}

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

static struct platform_driver bcmbca_nand_driver =;
module_platform_driver();

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