board-mx31lilly.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright (C) 2009 Daniel Mack <daniel@caiaq.de>
  3. *
  4. * Based on code for mobots boards,
  5. * Copyright (C) 2009 Valentin Longchamp, EPFL Mobots group
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version 2
  10. * of the License, or (at your option) any later version.
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  19. * MA 02110-1301, USA.
  20. */
  21. #ifndef __ASM_ARCH_MXC_BOARD_MX31LILLY_H__
  22. #define __ASM_ARCH_MXC_BOARD_MX31LILLY_H__
  23. /* mandatory for CONFIG_LL_DEBUG */
  24. #define MXC_LL_UART_PADDR UART1_BASE_ADDR
  25. #define MXC_LL_UART_VADDR (AIPI_BASE_ADDR_VIRT + 0x0A000)
  26. #ifndef __ASSEMBLY__
  27. enum mx31lilly_boards {
  28. MX31LILLY_NOBOARD = 0,
  29. MX31LILLY_DB = 1,
  30. };
  31. /*
  32. * This CPU module needs a baseboard to work. After basic initializing
  33. * its own devices, it calls baseboard's init function.
  34. */
  35. extern void mx31lilly_db_init(void);
  36. #endif
  37. #endif /* __ASM_ARCH_MXC_BOARD_MX31LILLY_H__ */