xref: /OK3568_Linux_fs/kernel/arch/mips/ath79/common.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  *  Atheros AR71XX/AR724X/AR913X common definitions
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  *  Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
6*4882a593Smuzhiyun  *  Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
7*4882a593Smuzhiyun  *
8*4882a593Smuzhiyun  *  Parts of this file are based on Atheros' 2.6.15 BSP
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #ifndef __ATH79_COMMON_H
12*4882a593Smuzhiyun #define __ATH79_COMMON_H
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #include <linux/types.h>
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #define ATH79_MEM_SIZE_MIN	(2 * 1024 * 1024)
17*4882a593Smuzhiyun #define ATH79_MEM_SIZE_MAX	(256 * 1024 * 1024)
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun void ath79_ddr_ctrl_init(void);
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #endif /* __ATH79_COMMON_H */
22