mt_ventoux.h 1.9 KB

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