aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_base.c
AgeCommit message (Expand)AuthorFilesLines
2018-02-16mtd: nand: move raw NAND related code to the raw/ subdirBoris Brezillon1-6582/+0
2018-01-29Merge tag 'nand/for-4.16' of git://git.infradead.org/linux-mtd into mtd/nextBoris Brezillon1-296/+1912
2018-01-20mtd: nand: Fix build issues due to an anonymous unionMiquel Raynal1-6/+7
2018-01-16mtd: Remove duplicate checks on mtd_oob_ops parameterBoris Brezillon1-45/+0
2018-01-16mtd: Fallback to ->_read/write_oob() when ->_read/write() is missingBoris Brezillon1-56/+0
2018-01-12mtd: nand: Fix nand_do_read_oob() return valueMiquel Raynal1-1/+4
2018-01-06mtd: nand: Fix unfinished comment in nand_init_data_interface()Miquel Raynal1-1/+4
2017-12-16mtd: nand: add ->exec_op() implementationMiquel Raynal1-25/+988
2017-12-14mtd: nand: Only allocate ecc->{calc, code}_buf when actually neededBoris Brezillon1-14/+11
2017-12-14mtd: nand: squash struct nand_buffers into struct nand_chipMasahiro Yamada1-53/+38
2017-12-14mtd: nand: remove unused NAND_OWN_BUFFERS flagMasahiro Yamada1-25/+20
2017-12-14mtd: nand: provide valid ->data_interface during NAND detectionMiquel Raynal1-26/+20
2017-12-14mtd: nand: force drivers to explicitly send READ/PROG commandsBoris Brezillon1-51/+36
2017-12-14mtd: nand: provide several helpers to do common NAND operationsBoris Brezillon1-166/+845
2017-12-01mtd: nand: use usual return values for the ->erase() hookMiquel Raynal1-2/+8
2017-11-30mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()Miquel Raynal1-2/+7
2017-11-02Merge tag 'nand/for-4.15' of git://git.infradead.org/l2-mtdRichard Weinberger1-8/+26
2017-10-31mtd: nand: Fix writing mtdoops to nand flash.Brent Taylor1-3/+6
2017-10-14mtd: nand: Export nand_reset() symbolBoris Brezillon1-0/+1
2017-09-18mtd: nand: introduce NAND_ROW_ADDR_3 flagMasahiro Yamada1-4/+5
2017-09-18mtd: nand: Use standard large page OOB layout when using NAND_ECC_NONEMiquel Raynal1-1/+14
2017-09-18mtd: nand: remove unused blockmask variableCorentin Labbe1-2/+1
2017-09-01Merge tag 'nand/for-4.14' of git://git.infradead.org/l2-mtd into mtd/nextBoris Brezillon1-240/+64
2017-08-29mtd: nand: make Samsung SLC NAND usable againLothar Waßmann1-2/+5
2017-08-23Merge branch 'nand/rename-header-file' of git://git.infradead.org/l2-mtd into...Boris Brezillon1-1/+1
2017-08-23mtd: nand: remove hard-coded NAND ids lengthJean-Louis Thekekara1-2/+2
2017-08-23mtd: nand: Fix various memory leaks in coreBoris Brezillon1-62/+56
2017-08-13mtd: nand: Rename nand.h into rawnand.hBoris Brezillon1-1/+1
2017-08-03mtd: nand: Remove support for block locking/unlockingBoris Brezillon1-173/+0
2017-08-02mtd: nand: Fix timing setup for NANDs that do not support SET FEATURESBoris Brezillon1-1/+3
2017-08-02mtd: nand: Fix a docs build warningJonathan Corbet1-1/+0
2017-08-02nand: fix wrong default oob layout for small pages using soft eccMiquel Raynal1-1/+7
2017-07-13Merge tag 'for-linus-20170713' of git://git.infradead.org/linux-mtdLinus Torvalds1-46/+303
2017-07-07Merge tag 'nand/for-4.13' into MTDBrian Norris1-46/+303
2017-07-03Merge tag 'docs-4.13' of git://git.lwn.net/linuxLinus Torvalds1-2/+5
2017-06-10mtd: nand: add generic helpers to check, match, maximize ECC settingsMasahiro Yamada1-0/+220
2017-06-01mtd: nand: check ecc->total sanity in nand_scan_tailMasahiro Yamada1-0/+5
2017-06-01mtd: nand: Support 'EXIT GET STATUS' command in nand_command[_lp]()Boris Brezillon1-0/+19
2017-06-01mtd: nand: Wait for PAGEPROG to finish in drivers setting NAND_ECC_CUSTOM_PAG...Boris Brezillon1-4/+6
2017-06-01mtd: nand: Drop the ->errstat() hookBoris Brezillon1-16/+0
2017-06-01mtd: nand: Drop unused cached programming supportBoris Brezillon1-26/+12
2017-06-01mtd: nand: Pass the CS line to ->setup_data_interface()Boris Brezillon1-9/+13
2017-06-01mtd: nand: Optimize checking of erased buffersPavel Machek1-1/+4
2017-05-30mtd: nand: Make sure drivers not supporting SET/GET_FEATURES return -ENOTSUPPBoris Brezillon1-0/+19
2017-05-22mtd: nand: make nand_ooblayout_lp_hamming_ops staticColin Ian King1-1/+1
2017-05-22mtd: nand: free vendor-specific resources in init failure pathsBrian Norris1-9/+29
2017-05-22mtd: nand: don't leak buffers when ->scan_bbt() failsBrian Norris1-1/+5
2017-05-18Merge remote-tracking branch 'mauro-exp/docbook3' into death-to-docbookJonathan Corbet1-2/+5
2017-05-16mtd: adjust kernel-docs to avoid Sphinx/kerneldoc warningsMauro Carvalho Chehab1-2/+5
2017-05-15mtd: nand: export nand_{read,write}_page_raw()Thomas Petazzoni1-4/+6
2017-05-15mtd: nand: add core support for on-die ECCThomas Petazzoni1-0/+13
2017-05-02mtd: nand: add ooblayout for old hamming layoutAlexander Couzens1-1/+69
2017-04-25mtd: nand: allow drivers to request minimum alignment for passed bufferMasahiro Yamada1-2/+8
2017-04-25mtd: nand: allocate aligned buffers if NAND_OWN_BUFFERS is unsetMasahiro Yamada1-9/+32
2017-04-25mtd: nand: relax ecc.read_page() return value for uncorrectable ECCMasahiro Yamada1-2/+1
2017-04-25mtd: nand: Remove unused chip->write_page() hookBoris Brezillon1-7/+5
2017-03-24mtd: nand: do not check R/B# for CMD_SET_FEATURES in nand_command(_lp)Masahiro Yamada1-0/+2
2017-03-24mtd: nand: do not check R/B# for CMD_READID in nand_command(_lp)Masahiro Yamada1-0/+2
2017-03-24mtd: nand: use read_oob() instead of cmdfunc() for bad block checkMasahiro Yamada1-21/+13
2017-03-24mtd: nand: allow to set only one of ECC size and ECC strength from DTMasahiro Yamada1-6/+0
2017-03-08mtd: nand: Move Macronix specific initialization in nand_macronix.cBoris Brezillon1-11/+0
2017-03-08mtd: nand: Move AMD/Spansion specific init/detection logic in nand_amd.cBoris Brezillon1-17/+1
2017-03-08mtd: nand: Move Micron specific init logic in nand_micron.cBoris Brezillon1-30/+2
2017-03-08mtd: nand: Move Toshiba specific init/detection logic in nand_toshiba.cBoris Brezillon1-17/+2
2017-03-08mtd: nand: Move Hynix specific init/detection logic in nand_hynix.cBoris Brezillon1-86/+28
2017-03-08mtd: nand: Move Samsung specific init/detection logic in nand_samsung.cBoris Brezillon1-48/+4
2017-03-08mtd: nand: Add manufacturer specific initialization/detection stepsBoris Brezillon1-10/+65
2017-03-08mtd: nand: Do not expose the NAND manufacturer table directlyBoris Brezillon1-12/+11
2017-03-08mtd: nand: Rename nand_get_flash_type() into nand_detect()Boris Brezillon1-3/+2
2017-03-08mtd: nand: Get rid of busw parameterBoris Brezillon1-31/+37
2017-03-08mtd: nand: Store nand ID in struct nand_chipBoris Brezillon1-25/+30
2017-03-08mtd: nand: Get rid of the mtd parameter in all auto-detection functionsBoris Brezillon1-24/+30
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-02-08mtd: nand: set max_bb_per_die and blocks_per_die for ONFI compliant chipsZach Brown1-0/+3
2017-02-08mtd: nand: implement 'max_bad_blocks' mtd functionZach Brown1-0/+37
2016-11-29Merge tag 'nand/for-4.10' of github.com:linux-nand/linuxBrian Norris1-18/+66
2016-11-19mtd: nand: Support controllers with custom pageMarc Gonzalez1-3/+31
2016-11-07mtd: nand: change return type of nand_get_flash_type() to intMasahiro Yamada1-14/+10
2016-11-07mtd: nand: Wait tCCS after a column changeBoris Brezillon1-1/+25
2016-10-28mtd: nand: Fix data interface configuration logicBoris Brezillon1-18/+42
2016-10-03mtd: nand: fix trivial spelling errorBrian Norris1-1/+1
2016-09-23mtd: nand: Provide nand_cleanup() function to free NAND related resourcesRichard Weinberger1-7/+15
2016-09-23mtd: nand: Fix nand_command_lp() for 8bits opcodesBoris Brezillon1-1/+4
2016-09-23mtd: nand: Support maximizing ECC when using software BCHBoris Brezillon1-0/+20
2016-09-23mtd: nand: Add an option to maximize the ECC strengthBoris Brezillon1-0/+3
2016-09-23mtd: nand: automate NAND timings selectionBoris Brezillon1-0/+157
2016-09-23mtd: nand: Create a NAND reset functionSascha Hauer1-5/+20
2016-09-23mtd: nand: Get rid of needless 'goto'Andrey Smirnov1-12/+6
2016-09-23mtd: nand: Error out if cmd_ctrl() is missingAndrey Smirnov1-0/+9
2016-09-23mtd: nand: import nand_hw_control_init()Marc Gonzalez1-2/+1
2016-07-19mtd: nand: fix bug writing 1 byte less than page sizeHector Palacios1-1/+1
2016-05-05Merge tag 'nand/for-4.7' of github.com:linux-nand/linuxBrian Norris1-259/+405
2016-05-05mtd: nand: add support for "nand-ecc-algo" DT propertyRafał Miłecki1-7/+13
2016-05-05mtd: mtd: drop NAND_ECC_SOFT_BCH enum valueRafał Miłecki1-8/+3
2016-05-05mtd: drop support for NAND_ECC_SOFT_BCH as "soft_bch" mappingRafał Miłecki1-1/+8
2016-05-05mtd: nand: read ECC algorithm from the new fieldRafał Miłecki1-61/+85
2016-05-05mtd: nand: set ECC algorithm to Hamming on fallbackRafał Miłecki1-0/+1
2016-05-05mtd: nand: move of_get_nand_xxx() helpers into nand_base.cBoris Brezillon1-1/+93
2016-05-05mtd: nand: kill the ecc->layout fieldBoris Brezillon1-7/+0
2016-05-05mtd: nand: bch: switch to mtd_ooblayout_opsBoris Brezillon1-0/+15
2016-04-19mtd: nand: implement the default mtd_ooblayout_opsBoris Brezillon1-49/+93
2016-04-19mtd: nand: use mtd_set_ecclayout() where appropriateBoris Brezillon1-1/+1
2016-04-19mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriateBoris Brezillon1-112/+88
2016-04-19mtd: nand: export default read/write oob functionsBoris Brezillon1-8/+10
2016-04-19mtd: nand: Remove BUG() abuse in nand_scan_tailEzequiel García1-19/+33
2016-04-19mtd: nand: set ECC algorithm in nand_dt_initRafał Miłecki1-1/+5
2016-04-13mtd: nand: Remove the "nand-disk" LED triggerEzequiel Garcia1-28/+1
2016-04-02mtd: nand: Drop mtd.owner requirement in nand_scanEzequiel García1-9/+1
2016-03-11mtd: nand: remove kerneldoc for removed function parameterBrian Norris1-1/+0
2016-03-10mtd: nand: don't select chip in nand_chip's block_bad opArchit Taneja1-22/+19
2016-03-07mtd: nand: simplify nand_bch_init() usageBoris BREZILLON1-4/+2
2016-03-07mtd: create an mtd_oobavail() helper and make use of itBoris BREZILLON1-12/+4
2016-03-07mtd: kill the ecclayout->oobavail fieldBoris BREZILLON1-7/+7
2016-03-07mtd: nand: check status before reporting timeoutBrian Norris1-2/+2
2016-01-06mtd: nand: use nand_check_erased_ecc_chunk in default ECC read functionsBoris BREZILLON1-7/+46
2016-01-06mtd: nand: assign reasonable default name for NAND driversBrian Norris1-0/+3
2015-12-18mtd: nand: Disable subpage writes for drivers without ecc->hwctlHelmut Schaa1-1/+1
2015-12-18mtd: nand: kill the chip->flash_node fieldBoris BREZILLON1-3/+0
2015-12-18mtd: nand: simplify nand_dt_init() usageBoris BREZILLON1-10/+11
2015-12-08mtd: nand: make use of mtd_to_nand() in NAND core codeBoris BREZILLON1-42/+42
2015-11-16Merge MTD 4.4 development into MTD -nextBrian Norris1-1/+1
2015-11-16mtd: nand: fix shutdown/reboot for multi-chip systemsBrian Norris1-1/+1
2015-11-11mtd: nand: convert to nand_get_flash_node()Boris BREZILLON1-3/+3
2015-11-11mtd: {nand,spi-nor}: assign MTD of_nodeBrian Norris1-0/+3
2015-10-26mtd: nand: increase ready wait timeout and report timeoutsAlex Smith1-13/+20
2015-10-13mtd: nand: pass page number to ecc->write_xxx() methodsBoris BREZILLON1-10/+21
2015-10-01mtd: nand: remove unused ->init_size() hookBoris BREZILLON1-4/+1
2015-09-21mtd: nand: add nand_check_erased helper functionsBoris BREZILLON1-0/+128
2015-09-11mtd: nand: Rename nand_chip .dn to .flash_nodeMarek Vasut1-2/+2
2015-05-22mtd: nand: correct indentation within conditionalBrian Norris1-1/+1
2015-05-22mtd: remove incorrect file nameBrian Norris1-2/+0
2015-05-11mtd: nand: add common DT init codeBrian Norris1-0/+41
2015-05-06mtd: nand: Remove in vain memset() in nand_onfi_get_features()Richard Weinberger1-3/+0
2015-03-30mtd: nand: Prevent possible kernel lockup in nand_command()Roger Quadros1-4/+23
2015-03-24mtd: nand: fix spelling of REPLACEABLEBrian Norris1-1/+1
2015-03-11mtd: nand: fully initialize mtd_oob_opsBrian Norris1-4/+4
2015-03-11mtd: nand: fixup bounds checks for nand_{lock,unlock}()Brian Norris1-2/+2
2015-02-05mtd: nand: remove redundant local variableBaruch Siach1-2/+1
2015-02-01mtd: nand: Request strength instead of bytes for soft BCHAaron Sierra1-6/+8
2015-01-20mtd: nand: default bitflip-reporting threshold to 75% of correction strengthBrian Norris1-1/+1
2015-01-09mtd: nand: remove duplicate comment lineBaruch Siach1-1/+0
2015-01-07mtd: nand: added nand_shutdownScott Branden1-0/+11
2014-11-28mtd: nand: correct the comment of function nand_block_isreserved()Gu Zheng1-2/+2
2014-11-25mtd: nand: print erase size on initRafał Miłecki1-2/+2
2014-11-05mtd: nand: comment update, the DEPLETE1 command has goneGerhard Sittig1-1/+1
2014-11-05mtd: nand: Base BCH ECC bytes on required strengthJordan Friendshuh1-1/+1
2014-09-22mtd: nand: support ONFI timing mode retrieval for non-ONFI NANDsBoris BREZILLON1-0/+2
2014-09-17mtd: nand: don't break long print messagesRafał Miłecki1-9/+5
2014-08-19mtd: nand: fix integer widening problemsBrian Norris1-2/+2
2014-08-19mtd: nand: fix nand_lock/unlock() functionWhite Ding1-0/+18
2014-07-21Merge tag 'v3.16-rc6' into MTD development branchBrian Norris1-2/+4
2014-07-13mtd: nand: reduce the warning noise when the ECC is too weakThomas Petazzoni1-2/+4
2014-07-08mtd: Introduce mtd_block_isreserved()Ezequiel Garcia1-0/+18
2014-05-21mtd: nand: Warn the user if the selected ECC strength is too weakEzequiel Garcia1-0/+36
2014-05-20NAND_ECC_SOFT_BCH can support subpage reads tooRon Lee1-2/+10
2014-05-20mtd: nand: Add support to use nand_base poi databuf as bounce bufferKamal Dasu1-6/+31
2014-05-09mtd: nand: refactor erase_cmd() to return chip statusBrian Norris1-7/+7
2014-04-29mtd: nand: fix a typo in a comment lineMasahiro Yamada1-1/+1
2014-04-15mtd: nand: use the nand_read_subpage index everywhereRon1-2/+1
2014-04-04Fix index regression in nand_read_subpageRon1-3/+2
2014-03-26mtd: nand: fix mention to CONFIG_MTD_NAND_ECC_BCHErico Nunes1-1/+1
2014-03-10mtd: nand: add "page" argument for read_subpage hookHuang Shijie1-2/+5
2014-03-10mtd: nand: remove unused function input parameterCai Zhiyong1-7/+5
2014-03-10mtd: nand: print out the right information for JEDEC compliant NANDHuang Shijie1-2/+11
2014-03-10mtd: nand: parse out the JEDEC compliant NANDHuang Shijie1-0/+85
2014-03-10mtd: nand: fix erroneous read_buf call in nand_write_page_raw_syndromeBoris BREZILLON1-1/+1
2014-03-10mtd: nand: don't use read_buf for 8-bit ONFI transfersBrian Norris1-11/+3
2014-03-10mtd: nand: force NAND_CMD_READID onto 8-bit busBrian Norris1-2/+4
2014-03-10mtd: nand: kill the the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE for nand_buffers{}Huang Shijie1-4/+15
2014-02-14mtd: nand: fix off-by-one read retry mode countingBrian Norris1-1/+1
2014-01-20mtd: nand: add support for Samsung K9LCG08U0BHuang Shijie1-1/+4
2014-01-14mtd: nand: don't use {read,write}_buf for 8-bit transfersUwe Kleine-König1-2/+55
2014-01-13mtd: nand: support Micron READ RETRYBrian Norris1-0/+27
2014-01-13mtd: nand: add generic READ RETRY supportBrian Norris1-4/+52
2014-01-13mtd: nand: localize ECC failures per pageBrian Norris1-5/+8
2014-01-11mtd: nand: assign mtd->name in find_full_id_nandCai Zhiyong1-0/+3
2014-01-03mtd: nand: refactor print messagesEzequiel Garcia1-13/+13
2013-11-07mtd: nand: use a local variable to simplify the nand_scan_tailHuang Shijie1-109/+104
2013-11-06mtd: nand: hack ONFI for non-power-of-2 dimensionsBrian Norris1-2/+13
2013-10-27mtd: nand: fix the wrong mtd->type for nand chipHuang Shijie1-1/+1
2013-10-27mtd: nand: print out the cell information for nand chipHuang Shijie1-4/+6
2013-10-27mtd: nand: set the cell information for ONFI nandHuang Shijie1-0/+1
2013-10-27mtd: nand: add the "bits per cell" info for legacy ID NANDHuang Shijie1-0/+3
2013-10-27mtd: nand: rename the cellinfo to bits_per_cellHuang Shijie1-2/+12
2013-10-27mtd: nand: add a helper to check the SLC/MLC nand chipHuang Shijie1-8/+6
2013-10-27mtd: nand: correct extemded param page error handlingBrian Norris1-4/+5
2013-10-27mtd: nand: cleanup ONFI printed errors, warningsBrian Norris1-9/+15
2013-09-27mtd: nand: fix memory leak in ONFI extended parameter pageBrian Norris1-5/+3
2013-08-30mtd: nand: fixup kerneldoc, rename parameterBrian Norris1-5/+6
2013-08-30mtd: set ONFI nand's default hooks in nand_set_defaults()Huang Shijie1-6/+6
2013-08-30mtd: set the ecc step size for master/slave mtd_infoHuang Shijie1-0/+1
2013-08-30mtd: nand: silence some shift wrap warningsDan Carpenter1-4/+4
2013-08-30mtd: parse out the ECC info for the full-id nand chipsHuang Shijie1-0/+2
2013-08-30mtd: replace the hardcode with the onfi_feature()Huang Shijie1-2/+4
2013-08-30mtd: get the ECC info from the Extended Parameter PageHuang Shijie1-0/+87
2013-08-30mtd: get the ECC info from the parameter page for ONFI nandHuang Shijie1-0/+5
2013-08-30mtd: nand: hide in-memory BBT implementation detailsBrian Norris1-21/+11
2013-08-30mtd: nand: refactor chip->block_markbad interfaceBrian Norris1-35/+52
2013-08-05mtd: nand: detect OOB size for Toshiba 24nm raw SLCBrian Norris1-0/+16
2013-08-05mtd: nand: fix NAND_BUSWIDTH_AUTO for x16 devicesBrian Norris1-3/+5