MIPS: SPRAM: Clean up support code a little
Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
a4e7cac18f
commit
a074f0e89f
10
arch/mips/include/asm/spram.h
Normal file
10
arch/mips/include/asm/spram.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef _MIPS_SPRAM_H
|
||||
#define _MIPS_SPRAM_H
|
||||
|
||||
#ifdef CONFIG_CPU_MIPSR2
|
||||
extern __init void spram_config(void);
|
||||
#else
|
||||
static inline void spram_config(void) { };
|
||||
#endif /* CONFIG_CPU_MIPSR2 */
|
||||
|
||||
#endif /* _MIPS_SPRAM_H */
|
Reference in New Issue
Block a user