Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/of_mtd.h>
#include <linux/mtd/nand.h>
#include <linux/export.h>
Go to the source code of this file.
EXPORT_SYMBOL_GPL | ( | of_get_nand_ecc_mode | ) |
EXPORT_SYMBOL_GPL | ( | of_get_nand_bus_width | ) |
EXPORT_SYMBOL_GPL | ( | of_get_nand_on_flash_bbt | ) |
int of_get_nand_bus_width | ( | struct device_node * | np | ) |
of_get_nand_bus_width - Get nand bus witdh for given device_node : Pointer to the given device_node
return bus width option, or errno in error case.
int of_get_nand_ecc_mode | ( | struct device_node * | np | ) |
of_get_nand_ecc_mode - Get nand ecc mode for given device_node : Pointer to the given device_node
The function gets ecc mode string from property 'nand-ecc-mode', and return its index in nand_ecc_modes table, or errno in error case.
bool of_get_nand_on_flash_bbt | ( | struct device_node * | np | ) |
of_get_nand_on_flash_bbt - Get nand on flash bbt for given device_node : Pointer to the given device_node
return true if present false other wise