summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2014-04-21 10:46:59 +0530
committerYork Sun <yorksun@freescale.com>2014-04-22 17:58:49 -0700
commit169ee57138ece39e126c54901e5c7b71c1321719 (patch)
tree74d2536273a8798b96266c14102e877c5ba5bbcb /arch/powerpc/cpu/mpc85xx
parent6259e291341d4c3753c7ce0e61d2bf8bdc5eacf0 (diff)
downloadu-boot-imx-169ee57138ece39e126c54901e5c7b71c1321719.zip
u-boot-imx-169ee57138ece39e126c54901e5c7b71c1321719.tar.gz
u-boot-imx-169ee57138ece39e126c54901e5c7b71c1321719.tar.bz2
powerpc/mpc85xx: Remove QE firmware copy from NAND
qe_init() does not use data copied from NAND. Thise code is not tested or complied causing compilation error during NAND boot So, remove QE firmware copy from NAND to ddr. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx')
-rw-r--r--arch/powerpc/cpu/mpc85xx/cpu_init.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index 867abb6..a2b79cc 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
@@ -899,19 +899,6 @@ void cpu_secondary_init_r(void)
#endif
#ifdef CONFIG_QE
-#ifdef CONFIG_SYS_QE_FMAN_FW_IN_NAND
- int ret;
- size_t fw_length = CONFIG_SYS_QE_FMAN_FW_LENGTH;
-
- /* load QE firmware from NAND flash to DDR first */
- ret = nand_read(&nand_info[0], (loff_t)CONFIG_SYS_QE_FMAN_FW_IN_NAND,
- &fw_length, (u_char *)CONFIG_SYS_QE_FW_ADDR);
-
- if (ret && ret == -EUCLEAN) {
- printf ("NAND read for QE firmware at offset %x failed %d\n",
- CONFIG_SYS_QE_FMAN_FW_IN_NAND, ret);
- }
-#endif
qe_init(qe_base);
qe_reset();
#endif