Skip to content
Snippets Groups Projects
Commit fe2185ea authored by Wu, Josh's avatar Wu, Josh Committed by Albert ARIBAUD
Browse files

at91: atmel_nand: extract HWECC initialization code into one function: atmel_hw_nand_init_param().


This patch
1. extract the hwecc initialization code into one function. It is a preparation for adding atmel PMECC support.
2. enable CONFIG_SYS_NAND_SELF_INIT. Which make us can configurate the ecc parameters between nand_scan_ident() and nand_scan_tail().

Signed-off-by: default avatarJosh Wu <josh.wu@atmel.com>
[fix empty newline at EOF error and move return value check into ifdef]
Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent 1d7442e6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment