162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Atheros AR71XX/AR724X/AR913X common definitions 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> 662306a36Sopenharmony_ci * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> 762306a36Sopenharmony_ci * 862306a36Sopenharmony_ci * Parts of this file are based on Atheros' 2.6.15 BSP 962306a36Sopenharmony_ci */ 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#ifndef __ATH79_COMMON_H 1262306a36Sopenharmony_ci#define __ATH79_COMMON_H 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#include <linux/types.h> 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci#define ATH79_MEM_SIZE_MIN (2 * 1024 * 1024) 1762306a36Sopenharmony_ci#define ATH79_MEM_SIZE_MAX (256 * 1024 * 1024) 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_civoid ath79_ddr_ctrl_init(void); 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci#endif /* __ATH79_COMMON_H */ 22