|
@@ -107,9 +107,6 @@ int ppa_init(void)
|
|
return -EIO;
|
|
return -EIO;
|
|
}
|
|
}
|
|
|
|
|
|
- /* flush cache after read */
|
|
|
|
- flush_cache((ulong)fitp, cnt * 512);
|
|
|
|
-
|
|
|
|
ret = fdt_check_header(fitp);
|
|
ret = fdt_check_header(fitp);
|
|
if (ret) {
|
|
if (ret) {
|
|
free(fitp);
|
|
free(fitp);
|
|
@@ -134,9 +131,6 @@ int ppa_init(void)
|
|
}
|
|
}
|
|
debug("Read PPA header to 0x%p\n", ppa_hdr_ddr);
|
|
debug("Read PPA header to 0x%p\n", ppa_hdr_ddr);
|
|
|
|
|
|
- /* flush cache after read */
|
|
|
|
- flush_cache((ulong)ppa_hdr_ddr, cnt * 512);
|
|
|
|
-
|
|
|
|
ppa_esbc_hdr = (uintptr_t)ppa_hdr_ddr;
|
|
ppa_esbc_hdr = (uintptr_t)ppa_hdr_ddr;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -164,9 +158,6 @@ int ppa_init(void)
|
|
return -EIO;
|
|
return -EIO;
|
|
}
|
|
}
|
|
|
|
|
|
- /* flush cache after read */
|
|
|
|
- flush_cache((ulong)ppa_fit_addr, cnt * 512);
|
|
|
|
-
|
|
|
|
#elif defined(CONFIG_SYS_LS_PPA_FW_IN_NAND)
|
|
#elif defined(CONFIG_SYS_LS_PPA_FW_IN_NAND)
|
|
struct fdt_header fit;
|
|
struct fdt_header fit;
|
|
|
|
|
|
@@ -208,9 +199,6 @@ int ppa_init(void)
|
|
}
|
|
}
|
|
debug("Read PPA header to 0x%p\n", ppa_hdr_ddr);
|
|
debug("Read PPA header to 0x%p\n", ppa_hdr_ddr);
|
|
|
|
|
|
- /* flush cache after read */
|
|
|
|
- flush_cache((ulong)ppa_hdr_ddr, fw_length);
|
|
|
|
-
|
|
|
|
ppa_esbc_hdr = (uintptr_t)ppa_hdr_ddr;
|
|
ppa_esbc_hdr = (uintptr_t)ppa_hdr_ddr;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -232,9 +220,6 @@ int ppa_init(void)
|
|
CONFIG_SYS_LS_PPA_FW_ADDR);
|
|
CONFIG_SYS_LS_PPA_FW_ADDR);
|
|
return -EIO;
|
|
return -EIO;
|
|
}
|
|
}
|
|
-
|
|
|
|
- /* flush cache after read */
|
|
|
|
- flush_cache((ulong)ppa_fit_addr, fw_length);
|
|
|
|
#else
|
|
#else
|
|
#error "No CONFIG_SYS_LS_PPA_FW_IN_xxx defined"
|
|
#error "No CONFIG_SYS_LS_PPA_FW_IN_xxx defined"
|
|
#endif
|
|
#endif
|