board.h 697 B

1234567891011121314151617181920212223242526
  1. /*
  2. * File : board.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006-2012, RT-Thread Develop Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2010-06-25 Bernard first version
  13. * 2011-08-08 lgnq modified for Loongson LS1B
  14. * 2015-07-06 chinesebear modified for Loongson LS1C
  15. */
  16. #ifndef __BOARD_H__
  17. #define __BOARD_H__
  18. void rt_hw_board_init(void);
  19. /* 32M SDRAM */
  20. #define RT_HW_HEAP_END (0x80000000 + 32 * 1024 * 1024)
  21. #define CPU_HZ (252 * 1000000)
  22. #endif