On 13/10/2022 14:26, Icenowy Zheng wrote:

Hi Icenowy,

Currently D$ support of SUNIV is broken because of duplicated definition
of the D$ enabling function.

Mask the one in mach-sunxi to fix the build error when D$ is enabled,
and enable the D$ on Lichee Pi Nano.

Ah, very nice. I was always wondering why we would need to disable the data cache, but it wasn't high enough on my list to investigate.

So indeed that both builds and works nicely: md5sum-ing 48MB goes from 21 seconds down to 3 seconds now!

Will merge it as part of the first pull request.

Many thanks!
Andre



Icenowy Zheng (2):
   sunxi: fix SUNIV build when enabling D-Cache
   configs: sunxi: licheepi_nano: enable D-Cache

  arch/arm/mach-sunxi/board.c     | 2 +-
  configs/licheepi_nano_defconfig | 1 -
  2 files changed, 1 insertion(+), 2 deletions(-)


Reply via email to