// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2002 Thomas Gleixner ([email protected]) */ #include <linux/sizes.h> #include "internals.h" #define LP_OPTIONS … #define LP_OPTIONS16 … #define SP_OPTIONS … #define SP_OPTIONS16 … /* * The chip ID list: * name, device ID, page size, chip size in MiB, eraseblock size, options * * If page size and eraseblock size are 0, the sizes are taken from the * extended chip ID. */ struct nand_flash_dev nand_flash_ids[] = …; /* Manufacturer IDs */ static const struct nand_manufacturer_desc nand_manufacturer_descs[] = …; /** * nand_get_manufacturer_desc - Get manufacturer information from the * manufacturer ID * @id: manufacturer ID * * Returns a nand_manufacturer_desc object if the manufacturer is defined * in the NAND manufacturers database, NULL otherwise. */ const struct nand_manufacturer_desc *nand_get_manufacturer_desc(u8 id) { … }