diff options
author | Alison Wang <b18965@freescale.com> | 2014-12-09 12:38:14 +0300 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-12-11 20:40:24 +0300 |
commit | 8ab967b6c6007adbd30e58dfa9ef69154a351484 (patch) | |
tree | 39d70fcc249733fe301bc156e06d29e55690ca60 /drivers/mtd | |
parent | d612f0ab34b27be4ad50b1236fbd6c84450997f1 (diff) | |
download | u-boot-8ab967b6c6007adbd30e58dfa9ef69154a351484.tar.xz |
arm: ls102xa: Add NAND boot support for LS1021AQDS board
This patch adds NAND boot support for LS1021AQDS board. SPL
framework is used. PBL initialize the internal RAM and copy
SPL to it, then SPL initialize DDR using SPD and copy u-boot
from NAND flash to DDR, finally SPL transfer control to u-boot.
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Alison Wang <alison.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/fsl_ifc_spl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mtd/nand/fsl_ifc_spl.c b/drivers/mtd/nand/fsl_ifc_spl.c index e336cb1c94..fb827c5e74 100644 --- a/drivers/mtd/nand/fsl_ifc_spl.c +++ b/drivers/mtd/nand/fsl_ifc_spl.c @@ -254,3 +254,13 @@ void nand_boot(void) uboot = (void *)CONFIG_SYS_NAND_U_BOOT_START; uboot(); } + +#ifndef CONFIG_SPL_NAND_INIT +void nand_init(void) +{ +} + +void nand_deselect(void) +{ +} +#endif |