Commit 3aa477ba authored by Gaetan Perrot's avatar Gaetan Perrot Committed by Daniel DeGrasse
Browse files

arch: arm: core: cortex_a_r: mark unused function argument



Use ARG_UNUSED() to mark unused function argument.

Signed-off-by: default avatarGaetan Perrot <gaetan.perrot@spacecubics.com>
parent f0b5911d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -203,11 +203,16 @@ int arch_icache_flush_and_invd_all(void)

int arch_icache_flush_range(void *start_addr, size_t size)
{
	ARG_UNUSED(start_addr);
	ARG_UNUSED(size);

	return -ENOTSUP;
}

int arch_icache_invd_range(void *start_addr, size_t size)
{
	ARG_UNUSED(start_addr);
	ARG_UNUSED(size);
	/* Cortex A/R do have the ICIMVAU operation to selectively invalidate
	 * the instruction cache, but not currently supported by CMSIS.
	 * For now, invalidate the entire cache.
@@ -219,6 +224,9 @@ int arch_icache_invd_range(void *start_addr, size_t size)

int arch_icache_flush_and_invd_range(void *start_addr, size_t size)
{
	ARG_UNUSED(start_addr);
	ARG_UNUSED(size);

	return -ENOTSUP;
}