common.h 514 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Atheros AR71XX/AR724X/AR913X common definitions
  4. *
  5. * Copyright (C) 2008-2011 Gabor Juhos <[email protected]>
  6. * Copyright (C) 2008 Imre Kaloz <[email protected]>
  7. *
  8. * Parts of this file are based on Atheros' 2.6.15 BSP
  9. */
  10. #ifndef __ATH79_COMMON_H
  11. #define __ATH79_COMMON_H
  12. #include <linux/types.h>
  13. #define ATH79_MEM_SIZE_MIN (2 * 1024 * 1024)
  14. #define ATH79_MEM_SIZE_MAX (256 * 1024 * 1024)
  15. void ath79_ddr_ctrl_init(void);
  16. #endif /* __ATH79_COMMON_H */