Part Number: DRA722
Tool/software: Linux
Hi Sir,
I need to program spi nor flash device and I have added new device, "is25wp064q" as below, in the m25p80.c. And I have enabled its driver with insert mode in the "device drivers/Memory Technology Device (MTD) support/Self-contained MTD device drivers/Support most SPI Flash chips (AT26DF, M25P, W25X, ...) by "make linux_menuconfig" command. After building kernel image, I can see the " m25p80.ko" but I cannot see the mtd device by "cat /proc/mtd" after inserting "m25p80.ko". How should I do if I want to program SPI nor flash in user space?
static const struct spi_device_id m25p_ids[] = {
/* ISSI -- is25wp0xxa */
{ "is25wp064q", INFO(0x9D7017, 0, 64 * 1024, 128, 0) },...
{ },
};
Best Regards
Kevin