xref: /OK3568_Linux_fs/kernel/arch/mips/include/asm/spram.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef _MIPS_SPRAM_H
3*4882a593Smuzhiyun #define _MIPS_SPRAM_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #if defined(CONFIG_MIPS_SPRAM)
6*4882a593Smuzhiyun extern __init void spram_config(void);
7*4882a593Smuzhiyun #else
spram_config(void)8*4882a593Smuzhiyun static inline void spram_config(void) { };
9*4882a593Smuzhiyun #endif /* CONFIG_MIPS_SPRAM */
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #endif /* _MIPS_SPRAM_H */
12