/*1* Atheros AR71XX/AR724X/AR913X common definitions2*3* Copyright (C) 2008-2011 Gabor Juhos <[email protected]>4* Copyright (C) 2008 Imre Kaloz <[email protected]>5*6* Parts of this file are based on Atheros' 2.6.15 BSP7*8* This program is free software; you can redistribute it and/or modify it9* under the terms of the GNU General Public License version 2 as published10* by the Free Software Foundation.11*/1213#ifndef __ATH79_COMMON_H14#define __ATH79_COMMON_H1516#include <linux/types.h>17#include <linux/init.h>1819#define ATH79_MEM_SIZE_MIN (2 * 1024 * 1024)20#define ATH79_MEM_SIZE_MAX (128 * 1024 * 1024)2122void ath79_clocks_init(void);23void ath79_ddr_wb_flush(unsigned int reg);2425void ath79_gpio_function_enable(u32 mask);26void ath79_gpio_function_disable(u32 mask);27void ath79_gpio_function_setup(u32 set, u32 clear);28void ath79_gpio_init(void);2930#endif /* __ATH79_COMMON_H */313233