mt_ventoux.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. * Copyright (C) 2011
  3. * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
  4. *
  5. *
  6. * Configuration settings for the Teejet mt_ventoux board.
  7. *
  8. * Copyright (C) 2009 TechNexion Ltd.
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation; either version 2 of the License, or
  13. * (at your option) any later version.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program; if not, write to the Free Software
  22. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  23. */
  24. #ifndef __CONFIG_H
  25. #define __CONFIG_H
  26. #include "tam3517-common.h"
  27. #undef CONFIG_SYS_MALLOC_LEN
  28. #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10) + \
  29. 6 * 1024 * 1024)
  30. #define MACH_TYPE_AM3517_MT_VENTOUX 3832
  31. #define CONFIG_MACH_TYPE MACH_TYPE_AM3517_MT_VENTOUX
  32. #define CONFIG_BOOTDELAY 10
  33. #define CONFIG_BOOTFILE "uImage"
  34. #define CONFIG_AUTO_COMPLETE
  35. #define CONFIG_OMAP3_GPIO_4
  36. #define CONFIG_HOSTNAME mt_ventoux
  37. /*
  38. * Miscellaneous configurable options
  39. */
  40. #define V_PROMPT "mt_ventoux => "
  41. #define CONFIG_SYS_PROMPT V_PROMPT
  42. /*
  43. * Set its own mtdparts, different from common
  44. */
  45. #undef MTDIDS_DEFAULT
  46. #undef MTDPARTS_DEFAULT
  47. #define MTDIDS_DEFAULT "nand0=omap2-nand.0"
  48. #define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(MLO)," \
  49. "1m(u-boot),256k(env1)," \
  50. "256k(env2),8m(ubisystem),-(rootfs)"
  51. /*
  52. * FPGA
  53. */
  54. #define CONFIG_CMD_FPGA
  55. #define CONFIG_FPGA
  56. #define CONFIG_FPGA_XILINX
  57. #define CONFIG_FPGA_SPARTAN3
  58. #define CONFIG_SYS_FPGA_PROG_FEEDBACK
  59. #define CONFIG_SYS_FPGA_WAIT 10000
  60. #define CONFIG_MAX_FPGA_DEVICES 1
  61. #define CONFIG_FPGA_DELAY() udelay(1)
  62. #define CONFIG_SYS_FPGA_PROG_FEEDBACK
  63. #define CONFIG_VIDEO
  64. #define CONFIG_CFB_CONSOLE
  65. #define CONFIG_VGA_AS_SINGLE_DEVICE
  66. #define CONFIG_SPLASH_SCREEN
  67. #define CONFIG_VIDEO_BMP_RLE8
  68. #define CONFIG_CMD_BMP
  69. #define CONFIG_VIDEO_OMAP3 /* DSS Support */
  70. #define CONFIG_SYS_CONSOLE_IS_IN_ENV
  71. #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
  72. "bootcmd=run net_nfs\0"
  73. #endif /* __CONFIG_H */