eukrea-baseboards.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * Copyright (C) 2010 Eric Benard - eric@eukrea.com
  3. *
  4. * Based on board-pcm038.h which is :
  5. * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de)
  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 __MACH_EUKREA_BASEBOARDS_H__
  22. #define __MACH_EUKREA_BASEBOARDS_H__
  23. #ifndef __ASSEMBLY__
  24. /*
  25. * This CPU module needs a baseboard to work. After basic initializing
  26. * its own devices, it calls baseboard's init function.
  27. * TODO: Add your own baseboard init function and call it from
  28. * inside eukrea_cpuimx25_init() eukrea_cpuimx27_init()
  29. * eukrea_cpuimx35_init() eukrea_cpuimx51_init()
  30. * or eukrea_cpuimx51sd_init().
  31. *
  32. * This example here is for the development board. Refer
  33. * mach-mx25/eukrea_mbimxsd-baseboard.c for cpuimx25
  34. * mach-imx/eukrea_mbimx27-baseboard.c for cpuimx27
  35. * mach-mx3/eukrea_mbimxsd-baseboard.c for cpuimx35
  36. * mach-mx5/eukrea_mbimx51-baseboard.c for cpuimx51
  37. * mach-mx5/eukrea_mbimxsd-baseboard.c for cpuimx51sd
  38. */
  39. extern void eukrea_mbimxsd25_baseboard_init(void);
  40. extern void eukrea_mbimx27_baseboard_init(void);
  41. extern void eukrea_mbimxsd35_baseboard_init(void);
  42. extern void eukrea_mbimx51_baseboard_init(void);
  43. extern void eukrea_mbimxsd51_baseboard_init(void);
  44. #endif
  45. #endif /* __MACH_EUKREA_BASEBOARDS_H__ */