blob: 47fb66d7b28233da3cf5ca48045dbff9d50f05bf [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Gabor Juhosd4a67d92011-01-04 21:28:14 +01002/*
3 * Atheros AR71XX/AR724X/AR913X common definitions
4 *
5 * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
6 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
7 *
8 * Parts of this file are based on Atheros' 2.6.15 BSP
Gabor Juhosd4a67d92011-01-04 21:28:14 +01009 */
10
11#ifndef __ATH79_COMMON_H
12#define __ATH79_COMMON_H
13
14#include <linux/types.h>
Gabor Juhosd4a67d92011-01-04 21:28:14 +010015
16#define ATH79_MEM_SIZE_MIN (2 * 1024 * 1024)
Helmut Schaac1bed312014-12-18 13:05:40 +010017#define ATH79_MEM_SIZE_MAX (256 * 1024 * 1024)
Gabor Juhosd4a67d92011-01-04 21:28:14 +010018
Alban Bedel24b0e3e2015-04-19 14:30:03 +020019void ath79_ddr_ctrl_init(void);
Gabor Juhosd4a67d92011-01-04 21:28:14 +010020
Gabor Juhosd4a67d92011-01-04 21:28:14 +010021#endif /* __ATH79_COMMON_H */