Commit c32eeb88 authored by Siarhei Siamashka's avatar Siarhei Siamashka
Browse files

fel: Enable MMU on Allwinner-H3 to improve FEL transfer speed



When the CPU clock speed is set to 480 MHz by the U-Boot SPL,
the performance of 'sunxi-fel write' transfers to DRAM improves
from ~95 KB/s to ~510 KB/s.

When the CPU clock speed is set to 1008 MHz by the U-Boot SPL,
the performance of 'sunxi-fel write' transfers to DRAM improves
from ~180 KB/s to ~510 KB/s.

This means that the CPU is not a bottleneck for FEL transfers
anymore. Further performance improvements are possible by
increasing the AHB1 clock speed in the U-Boot SPL (up to
something like ~900 KB/s).
Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent a275b246
...@@ -486,6 +486,7 @@ soc_sram_info soc_sram_info_table[] = { ...@@ -486,6 +486,7 @@ soc_sram_info soc_sram_info_table[] = {
{ {
.soc_id = 0x1680, /* Allwinner H3 */ .soc_id = 0x1680, /* Allwinner H3 */
.scratch_addr = 0x2000, .scratch_addr = 0x2000,
.mmu_tt_addr = 0x44000,
.thunk_addr = 0x46E00, .thunk_size = 0x200, .thunk_addr = 0x46E00, .thunk_size = 0x200,
.swap_buffers = a31_sram_swap_buffers, .swap_buffers = a31_sram_swap_buffers,
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment