armv8/ls2085aqds: NAND boot support

This adds NAND boot support for LS2085AQDS, using SPL framework.
Details of forming NAND image can be found in README.

Signed-off-by: Scott Wood <scottwood@freescale.com>
[York Sun: Remove +S from defconfig after commit 252ed872]
Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
Scott Wood
2015-03-24 13:25:02 -07:00
committed by York Sun
parent 39b0bbbb23
commit b2d5ac5985
15 changed files with 278 additions and 8 deletions

View File

@@ -66,7 +66,7 @@ static inline void nand_wait(uchar *buf, int bufnum, int page_size)
{
struct fsl_ifc_runtime *ifc = runtime_regs_address();
u32 status;
u32 eccstat[4];
u32 eccstat[8];
int bufperpage = page_size / 512;
int bufnum_end, i;