1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
10 #include <jffs2/load_kernel.h>
11 #include <linux/mtd/mtd.h>
13 int mtd_probe_devices(void);
15 void board_mtdparts_default(const char **mtdids, const char **mtdparts);
17 /* compute the max size for the string associated to a dev type */
18 #define MTD_NAME_SIZE(type) (sizeof(MTD_DEV_TYPE(type)) + DM_MAX_SEQ_STR)