mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-11 03:28:39 +01:00
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:
parent
d6d99518c3
commit
d7c59651a1
2 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue