CFI Flash device in physical memory map
modulename: physmap.ko
and/ormtd.ko
configname: CONFIG_MTD_PHYSMAP
Linux Kernel Configuration
└─>Device Drivers
└─>Memory Technology Device (MTD) support
└─>Mapping drivers for chip access
└─>CFI Flash device in physical memory map
In linux kernel since version 2.6.20 (release Date: 2007-02-04)
This provides a 'mapping' driver which allows the NOR Flash and
ROM driver code to communicate with chips which are mapped
physically into the CPU's memory. You will need to configure
the physical address and size of the flash chips on your
particular board as well as the bus width, either statically
with config options or at run-time.
To compile this driver as a module, choose M here: the
module will be called physmap.
ROM driver code to communicate with chips which are mapped
physically into the CPU's memory. You will need to configure
the physical address and size of the flash chips on your
particular board as well as the bus width, either statically
with config options or at run-time.
To compile this driver as a module, choose M here: the
module will be called physmap.
source code:
depends
CONFIG_MTDCONFIG_MTD_CFI or CONFIG_MTD_JEDECPROBE or CONFIG_MTD_ROM or CONFIG_HAS_IOMEM or CONFIG_MTD_LPDDR or CONFIG_MTD_RAM