]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: caches: Make DCACHE_DEFAULT_OPTION accessible for ARM64 arch
authorPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 27 Oct 2023 14:42:56 +0000 (16:42 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 13 Nov 2023 09:55:38 +0000 (10:55 +0100)
commit2f9886c66864ffc52f6a7ab5be9be97fec47ef1d
tree608fb771c829bb174d19ba2321b0fb7d98d7fd93
parent3b6db6901ff5babbb9d21f0fca750996e29d85e0
arm: caches: Make DCACHE_DEFAULT_OPTION accessible for ARM64 arch

This fixes the following compilation error in ARM64:
arch/arm/mach-stm32mp/dram_init.c: In function ‘board_get_usable_ram_top’:
arch/arm/mach-stm32mp/dram_init.c:59:45: error: ‘DCACHE_DEFAULT_OPTION’ undeclared (first use in this function)
   59 |  mmu_set_region_dcache_behaviour(reg, size, DCACHE_DEFAULT_OPTION);
      |                                             ^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/include/asm/system.h