ipq80xx: cache: Remove weak definition

Enable or disable of cache functions provided by board.
This should override the default functions, hence should not be
__weak function definition in board command files.

Change-Id: I676c1f05975c723a88a0cbd2596e907fcf089eff
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
This commit is contained in:
Manoharan Vijaya Raghavan 2018-03-28 15:31:05 +05:30
parent d6d99518c3
commit d7c59651a1
2 changed files with 10 additions and 10 deletions

View file

@ -345,16 +345,6 @@ void report_l2err(u32 l2esr)
}
#endif
__weak void enable_caches(void)
{
icache_enable();
}
__weak void disable_caches(void)
{
icache_disable();
}
__weak void clear_l2cache_err(void)
{
return;

View file

@ -995,6 +995,16 @@ void set_flash_secondary_type(qca_smem_flash_info_t *smem)
return;
};
void enable_caches(void)
{
icache_enable();
}
void disable_caches(void)
{
icache_disable();
}
/*
* To determine the spi flash addr is in 3 byte
* or 4 byte.