summaryrefslogtreecommitdiffstats
path: root/sys/dev/nand
Commit message (Collapse)AuthorAgeFilesLines
* MFC r262591, r262592, r262593, r262597, r262598, r262599, r262600, r262601,ian2014-05-161-2/+17
| | | | | | | | | | | | | | | | | | r262606 Initial import of Linux/Vendor DTS files for various embedded boards. Initial import of DTS files from Linux Correct initial import script New AT91 devices or fdt probe added to existing devices. Some of these are just stubs for testing the new dts. - nand - SDRAMC - shdwc - tcb - usb host and gadget
* MFC r260695, r260696, r260884, r260885, r260886, r260887ian2014-05-142-11/+81
| | | | | | | | | | | | | | | Provide a simplified way to specify GPIO pins for the Atmel port. Add at91 data so we can convert a PIO unit number into a base address. Add at91 standard memory controller helper functions. Generalize AT91 NAND support a bit. Connect NAND for the SAM9260EK eval board, as well as the HotE HL-201. Add nand device and NANDFS into the mix for those at91 boards that have support for it at the moment.
* MFC r260092, r260093, r260121, r260180,ian2014-05-142-1/+3
| | | | | | | | | | Allow AT91_MCI_ALLOW_OVERCLOCK to be an option in kernel config files. Set the SoC name for the atmelbus name. Add support for Samsung K9F2G08U0A (256MiB SLC) NAND Comment updates.
* MFC: r261884brueffer2014-02-281-1/+1
| | | | | | | Correct the order of arguments to mtx_init(). PR: 186701 Submitted by: Takanori Sawada <tak.swd at gmail.com>
* MFC r258828:ian2013-12-141-0/+258
| | | | | Add a nand flash controller driver for Atmel at91 family. Tested only on at91rm9200 so far.
* MFC r258740:ian2013-12-141-11/+21
| | | | | | Look up a nand chip by id in the static table before trying to obtain ONFI parameters. This allows a static table entry to provide valid data for chips known to provide invalid ONFI data.
* MFC r257892, r258196, r258197, r258199, r258200, r258201, r258202:ian2013-12-144-45/+128
| | | | | | | | | | | | | | | | | | | Add ONFI signature check. Add Micron chip found in Freescale Vybrid Family Phytec COSMIC board. The vendor specified field is 88 bytes, not 8 bytes. Update the onfi_params struct to ONFI revision 3.2 (06 12 2013). Search for and validate the ONFI params as specified in the standard. ONFI parameters are little-endian, hence we must take care to convert them to native endianness. We must also pay attention to unaligned accesses. Rework the routine that returns a pointer to the table of software ECC byte positions within the OOB area to support chips with unusual OOB sizes such as 218 or 224 bytes.
* MFC: r258387,r258425gber2013-11-252-18/+102
| | | | | | | | | | | Split raw reading/programming into smaller chunks to avoid allocating too big chunk of kernel memory. Validate size of data. Add error handling to avoid calling copyout() when data has not been read correctly. Also MFC of change r258425 which fixes problem introduced by r258387. Reviewed by: zbb Reported by: x90c <geinblues@gmail.com> Approved by: re
* Use direct custom implementations instead of g_handleattr() for CFI and NANDmav2013-06-121-16/+20
| | | | | | d_getattr(). Since these drivers use disk(9) KPI and not directly GEOM, use of that function means KPI layering violation, causing extra g_io_deliver() call for the request.
* Fix ONFI chip detection.gber2013-05-272-2/+2
| | | | Submitted by: Alexander Fedorov <alexander.fedorov@rtlservice.com>
* Add the chip used in recent GlobalScale Technologies *Plug computersian2013-01-271-0/+2
| | | | Approved by: cognet (mentor)
* Remove the support for using non-mpsafe filesystem modules.kib2012-10-221-10/+2
| | | | | | | | | | | | In particular, do not lock Giant conditionally when calling into the filesystem module, remove the VFS_LOCK_GIANT() and related macros. Stop handling buffers belonging to non-mpsafe filesystems. The VFS_VERSION is bumped to indicate the interface change which does not result in the interface signatures changes. Conducted and reviewed by: attilio Tested by: pho
* Add a driver for the Freescale FCM module in the localbus controller.marcel2012-07-032-0/+813
| | | | | | | | This driver does not yet handle multiple chip selects properly. Note that the NAND infrastructure does not perform full page reads or writes, which means that this driver cannot make use of the hardware ECC that is otherwise present.
* Add nand core module and module dependency information.takawata2012-06-262-0/+4
| | | | Reviewed by:gber
* Import work done under project/nand (@235533) into head.gber2012-05-1724-0/+8078
The NAND Flash environment consists of several distinct components: - NAND framework (drivers harness for NAND controllers and NAND chips) - NAND simulator (NANDsim) - NAND file system (NAND FS) - Companion tools and utilities - Documentation (manual pages) This work is still experimental. Please use with caution. Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks
OpenPOWER on IntegriCloud