History

mtd: rawnand: Export nand_read_page_hwecc_oob_first()

Move the function nand_read_page_hwecc_oob_first() (previously nand_davinci_read_page_hwecc_oob_first()) to nand_base.c, and export it as a GPL symbol, so that it can be used by more modules.

Paul Cercueil committed 5 years ago

Commit d8466f71 parent 0697f843 files · +70 −68Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/mtd/rawnand.h+2−0
@@ -1539,6 +1539,8 @@ int nand_read_data_op(struct nand_chip *chip, void *buf, unsigned int len, · 1538 unmodified lines
15391539 bool force_8bit, bool check_only);
15401540 int nand_write_data_op(struct nand_chip *chip, const void *buf,
15411541 unsigned int len, bool force_8bit);
1542+int nand_read_page_hwecc_oob_first(struct nand_chip *chip, uint8_t *buf,
1543+ int oob_required, int page);
15421544
15431545 /* Scan and identify a NAND device */
15441546 int nand_scan_with_ids(struct nand_chip *chip, unsigned int max_chips,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t