2
0
forked from Ivasoft/openwrt

ar71xx: add ath79_nfc_set_ecc_mode helper

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38070
This commit is contained in:
Gabor Juhos
2013-09-19 18:43:42 +00:00
parent d6fef0cb39
commit 83915a8d78
2 changed files with 8 additions and 0 deletions

View File

@@ -119,6 +119,11 @@ void __init ath79_nfc_set_swap_dma(bool enable)
ath79_nfc_data.swap_dma = enable;
}
void __init ath79_nfc_set_ecc_mode(enum ar934x_nfc_ecc_mode mode)
{
ath79_nfc_data.ecc_mode = mode;
}
void __init ath79_nfc_set_parts(struct mtd_partition *parts, int nr_parts)
{
ath79_nfc_data.parts = parts;