![Freescale Semiconductor i.MX 6DualLite Reference Manual Download Page 211](http://html1.mh-extra.com/html/freescale-semiconductor/i-mx-6duallite/i-mx-6duallite_reference-manual_2330523211.webp)
28.1.4 Source Code Structure
The SPI NOR MTD driver is implemented in the following directory:
<ltib_dir>/rpm/BUILD/linux/drivers/mtd/devices/
Table below shows the driver files:
Table 28-1. SPI NOR MTD Driver Files
File
Description
m25p80.c
Source file
28.1.5 Menu Configuration Options
To get to the SPI NOR MTD driver, use the command ./ltib -c when located in the <ltib
dir>. On the screen displayed, select Configure the kernel and exit. When the next screen
appears select the following options to enable the SPI NOR MTD driver accordingly:
• CONFIG_MTD_M25P80: This config enables access to most modern SPI flash
chips, used for program and data storage.
• Device Drivers > Memory Technology Device (MTD) support >Self-contained MTD
device drivers > Support most SPI Flash chips (AT26DF, M25P, W25X, ...)
Chapter 28 SPI NOR Flash Memory Technology Device (MTD) Driver
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
Freescale Semiconductor, Inc.
211