xref: /kernel/linux/linux-6.6/arch/mips/include/asm/mach-loongson32/nand.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/mips/include/asm/mach-loongson32/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2015 Zhang, Keguang <keguang.zhang@gmail.com>
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Loongson 1 NAND platform support.
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __ASM_MACH_LOONGSON32_NAND_H
962306a36Sopenharmony_ci#define __ASM_MACH_LOONGSON32_NAND_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#include <linux/dmaengine.h>
1262306a36Sopenharmony_ci#include <linux/mtd/partitions.h>
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_cistruct plat_ls1x_nand {
1562306a36Sopenharmony_ci	struct mtd_partition *parts;
1662306a36Sopenharmony_ci	unsigned int nr_parts;
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	int hold_cycle;
1962306a36Sopenharmony_ci	int wait_cycle;
2062306a36Sopenharmony_ci};
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciextern struct plat_ls1x_nand ls1b_nand_pdata;
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_cibool ls1x_dma_filter_fn(struct dma_chan *chan, void *param);
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci#endif /* __ASM_MACH_LOONGSON32_NAND_H */
27

Indexes created Thu Nov 07 10:32:03 CST 2024