blob: 47fb66d7b28233da3cf5ca48045dbff9d50f05bf [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
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
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00009 */
10
11#ifndef __ATH79_COMMON_H
12#define __ATH79_COMMON_H
13
14#include <linux/types.h>
15
16#define ATH79_MEM_SIZE_MIN (2 * 1024 * 1024)
17#define ATH79_MEM_SIZE_MAX (256 * 1024 * 1024)
18
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000019void ath79_ddr_ctrl_init(void);
20
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000021#endif /* __ATH79_COMMON_H */