X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fnand.h;h=7cbbbd327a61e3b3ad93263add43c10582fdb497;hb=d3bafe32ca47bc3872837c1fe7874f9913de103f;hp=8ea4d5d75caeb8313d40a26f24d49e043d63de50;hpb=59b5a2ad83dfefae75011a839e94d4880ff02933;p=oweals%2Fu-boot.git diff --git a/include/nand.h b/include/nand.h index 8ea4d5d75c..7cbbbd327a 100644 --- a/include/nand.h +++ b/include/nand.h @@ -3,12 +3,7 @@ * 2N Telekomunikace, a.s. * Ladislav Michl * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * version 2 as published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0 */ #ifndef _NAND_H_ @@ -104,11 +99,8 @@ typedef struct nand_erase_options nand_erase_options_t; int nand_read_skip_bad(nand_info_t *nand, loff_t offset, size_t *length, size_t *actual, loff_t lim, u_char *buffer); -#define WITH_YAFFS_OOB (1 << 0) /* whether write with yaffs format. This flag - * is a 'mode' meaning it cannot be mixed with - * other flags */ -#define WITH_DROP_FFS (1 << 1) /* drop trailing all-0xff pages */ -#define WITH_WR_VERIFY (1 << 2) /* verify data was written correctly */ +#define WITH_DROP_FFS (1 << 0) /* drop trailing all-0xff pages */ +#define WITH_WR_VERIFY (1 << 1) /* verify data was written correctly */ int nand_write_skip_bad(nand_info_t *nand, loff_t offset, size_t *length, size_t *actual, loff_t lim, u_char *buffer, int flags);