nios2: get CPU features from ALT_CPU_* namespace
NIOS2_* namespace is deprecated. Change-Id: I5a9b07ee33b20aa18509e9d789837f48199ab25d Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
865843fe79
commit
0b6c4febf1
7 changed files with 32 additions and 32 deletions
|
@ -200,13 +200,13 @@ static ALWAYS_INLINE int _IS_IN_ISR(void)
|
|||
void _irq_do_offload(void);
|
||||
#endif
|
||||
|
||||
#if NIOS2_ICACHE_SIZE > 0
|
||||
#if ALT_CPU_ICACHE_SIZE > 0
|
||||
void _nios2_icache_flush_all(void);
|
||||
#else
|
||||
#define _nios2_icache_flush_all() do { } while (0)
|
||||
#endif
|
||||
|
||||
#if NIOS2_DCACHE_SIZE > 0
|
||||
#if ALT_CPU_DCACHE_SIZE > 0
|
||||
void _nios2_dcache_flush_all(void);
|
||||
#else
|
||||
#define _nios2_dcache_flush_all() do { } while (0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue