Skip to content
Permalink
Browse files

QE: Set QE_IRAM_READY after uploading firmware

QE_IRAM_READY should be set only after successfully uploading the
firmware.

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
  • Loading branch information
ZhaoQiang-b45475 authored and Prabhakar Kushwaha committed Aug 11, 2017
1 parent 503eff0 commit c64ac4cddb001907fef64db546b7f857b3362294
Showing with 2 additions and 2 deletions.
  1. +2 −2 drivers/qe/qe.c
@@ -225,8 +225,8 @@ void u_qe_init(void)
flush_cache((ulong)addr, cnt * 512);
}
#endif
u_qe_upload_firmware(addr);
out_be32(&qe_immr->iram.iready, QE_IRAM_READY);
if (!u_qe_upload_firmware(addr))
out_be32(&qe_immr->iram.iready, QE_IRAM_READY);
#ifdef CONFIG_SYS_QE_FMAN_FW_IN_MMC
free(addr);
#endif

0 comments on commit c64ac4c

Please sign in to comment.
You can’t perform that action at this time.