summaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Expand)Author
2016-04-06ASN.1: fix open failure check on headernameColin Ian King
2016-03-24Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/k...Linus Torvalds
2016-03-24Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmare...Linus Torvalds
2016-03-24Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds
2016-03-23parisc: Use generic extable search and sort routinesHelge Deller
2016-03-22ubsan: fix tree-wide -Wmaybe-uninitialized false positivesAndrey Ryabinin
2016-03-22scripts/gdb: account for changes in module data structureJan Kiszka
2016-03-22scripts/gdb: add cmdline reader commandKieran Bingham
2016-03-22scripts/gdb: add version commandKieran Bingham
2016-03-22kernel: add kcov code coverageDmitry Vyukov
2016-03-20Merge branch 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds
2016-03-19Merge tag 'devicetree-for-4.6' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds
2016-03-17Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds
2016-03-17Merge tag 'char-misc-4.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds
2016-03-17Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds
2016-03-16Merge branch 'akpm' (patches from Andrew)Linus Torvalds
2016-03-15kallsyms: add support for relative offsets in kallsyms address tableArd Biesheuvel
2016-03-15kallsyms: don't overload absolute symbol type for percpu symbolsArd Biesheuvel
2016-03-15x86: kallsyms: disable absolute percpu symbols on !SMPArd Biesheuvel
2016-03-15checkpatch: fix another left brace warningGeyslan G. Bem
2016-03-15checkpatch: improve UNSPECIFIED_INT test for bare signed/unsigned usesJoe Perches
2016-03-15checkpatch: warn on bare unsigned or signed declarations without intJoe Perches
2016-03-15checkpatch: exclude asm volatile from complex macro checkJoe Perches
2016-03-15Merge commit 'fixes.2015.02.23a' into core/rcuIngo Molnar
2016-03-14Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds
2016-03-13ld-version: Fix awk regex compile failureJames Hogan
2016-03-05objtool: Detect and warn if libelf is missing and don't break the buildJosh Poimboeuf
2016-03-04kbuild: suppress annoying "... is up to date." messageMasahiro Yamada
2016-03-04kbuild/mkspec: clean boot loader configuration on rpm removalPaolo Abeni
2016-03-03sign-file: fix build with CMS support disabledMarc-Antoine Perennou
2016-02-29objtool: Add CONFIG_STACK_VALIDATION optionJosh Poimboeuf
2016-02-29objtool: Mark non-standard object files and directoriesJosh Poimboeuf
2016-02-26KEYS: Use the symbol value for list size, updated by scripts/insert-sys-certMehmet Kayaalp
2016-02-26KEYS: Reserve an extra certificate symbol for inserting without recompilingMehmet Kayaalp
2016-02-26kbuild/mkspec: fix grub2 installkernel issueJiri Kosina
2016-02-24arm64: switch to relative exception tablesArd Biesheuvel
2016-02-24scripts/sortextable: add support for ET_DYN binariesArd Biesheuvel
2016-02-23sparse: Add __private to privatize members of structsBoqun Feng
2016-02-23kbuild: Allow using host dtc instead of kernel's copyRob Herring
2016-02-18Coccinelle: Add api/setup_timer.cocciVaishali Thakkar
2016-02-18coccinelle: bugon: reduce rule applicabilityJulia Lawall
2016-02-18Coccinelle: pm_runtime: reduce rule applicabilityJulia Lawall
2016-02-18Coccinelle: array_size: reduce rule applicabilityJulia Lawall
2016-02-18Coccinelle: reduce rule applicabilityJulia Lawall
2016-02-18scripts/tags.sh: add regex to map kprobe helpersNaveen N. Rao
2016-02-18scripts/sign-file.c: Add support for signing with a raw signatureJuerg Haefliger
2016-02-18scripts/coccinelle: modernize &Julia Lawall
2016-02-18x86/mm: Expand the exception table logic to allow new handling optionsTony Luck
2016-02-17kbuild: fixdep: Check fstat(2) return valueTom Rini
2016-02-14Merge 4.5-rc4 into char-misc-nextGreg Kroah-Hartman
ption value='v5.8/standard/beaglebone'>v5.8/standard/beaglebone Yocto Linux Embedded kernelGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/fs/yaffs2/yaffs_nand.h
blob: 8964db0a8fdbd531e9677025598129252b290f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
 *
 * Copyright (C) 2002-2018 Aleph One Ltd.
 *
 * Created by Charles Manning <charles@aleph1.co.uk>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 2.1 as
 * published by the Free Software Foundation.
 *
 * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
 */

#ifndef __YAFFS_NAND_H__
#define __YAFFS_NAND_H__
#include "yaffs_guts.h"

int yaffs_rd_chunk_tags_nand(struct yaffs_dev *dev, int nand_chunk,
			     u8 *buffer, struct yaffs_ext_tags *tags);

int yaffs_wr_chunk_tags_nand(struct yaffs_dev *dev,
			     int nand_chunk,
			     const u8 *buffer, struct yaffs_ext_tags *tags);

int yaffs_mark_bad(struct yaffs_dev *dev, int block_no);

int yaffs_query_init_block_state(struct yaffs_dev *dev,
				 int block_no,
				 enum yaffs_block_state *state,
				 unsigned *seq_number);

int yaffs_erase_block(struct yaffs_dev *dev, int flash_block);

int yaffs_init_nand(struct yaffs_dev *dev);
int yaffs_deinit_nand(struct yaffs_dev *dev);

#endif