mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09:00
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>
This commit is contained in:
parent
6259e29134
commit
169ee57138
@ -899,19 +899,6 @@ void cpu_secondary_init_r(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_QE
|
#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_init(qe_base);
|
||||||
qe_reset();
|
qe_reset();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user