I want to find a way to clean a memory region in TF-A firmware.
This region is 4KB-aligned, physically continuous (e.g., 0xa0000000 - 0xa0000fff).
And, to clean this region, I just want to fill in some "useless" data, e.g., 0x0 or 0xcfcfcfcf.
Initially, I use "memset()" in TF-A, but it is a bit slow.
I then try to directly repeat the LDR instruction, but each time I can only operate 64-bit, still slow.
Do we have some useful instructions to achieve this goal?