Ignore:
Timestamp:
Jul 4, 2011, 9:26:19 AM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
9f816ad4
Parents:
7032a458
Message:

2011-07-04 Sebastian Huber <sebastian.huber@…>

  • misc/nand-mlc-erase-block-safe.c, misc/nand-mlc-write-blocks.c, include/nand-mlc.h: Fixed write blocks.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc32xx/include/nand-mlc.h

    r7032a458 r542d350e  
    287287 *
    288288 * Variant of lpc32xx_mlc_erase_block_safe() with more parameters for
    289  * efficiency reasons.
     289 * efficiency reasons.  The @a page_begin must be the index of the first page
     290 * of the block.  The @a page_end must be the page index of the last page of
     291 * the block plus one.
    290292 */
    291293rtems_status_code lpc32xx_mlc_erase_block_safe_3(
    292294  uint32_t block_index,
    293   uint32_t first_page_of_block,
    294   uint32_t pages_per_block
    295 );
     295  uint32_t page_begin,
     296  uint32_t page_end
     297);
     298
     299/**
     300 * @brief Writes zero values to the pages specified by @a page_begin and
     301 * @a page_end.
     302 *
     303 * The data and spare area are cleared to zero.  This marks the pages as bad.
     304 */
     305void lpc32xx_mlc_zero_pages(uint32_t page_begin, uint32_t page_end);
    296306
    297307/**
Note: See TracChangeset for help on using the changeset viewer.