medcom-wide.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * (C) Copyright 2010,2011
  3. * NVIDIA Corporation <www.nvidia.com>
  4. * (C) Copyright 2011-2012
  5. * Avionic Design GmbH <www.avionic-design.de>
  6. *
  7. * SPDX-License-Identifier: GPL-2.0+
  8. */
  9. #ifndef __CONFIG_H
  10. #define __CONFIG_H
  11. #include "tegra20-common.h"
  12. /* High-level configuration options */
  13. #define V_PROMPT "Tegra20 (Medcom-Wide) # "
  14. #define CONFIG_TEGRA_BOARD_STRING "Avionic Design Medcom-Wide"
  15. /* Board-specific serial config */
  16. #define CONFIG_TEGRA_ENABLE_UARTD /* UARTD: debug UART */
  17. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
  18. /* SD/MMC */
  19. #define CONFIG_MMC
  20. #define CONFIG_GENERIC_MMC
  21. #define CONFIG_TEGRA_MMC
  22. #define CONFIG_CMD_MMC
  23. /* NAND support */
  24. #define CONFIG_CMD_NAND
  25. #define CONFIG_TEGRA_NAND
  26. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  27. /* Environment in NAND, aligned to start of last sector */
  28. #define CONFIG_ENV_IS_IN_NAND
  29. #define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */
  30. /* USB host support */
  31. #define CONFIG_USB_EHCI
  32. #define CONFIG_USB_EHCI_TEGRA
  33. #define CONFIG_USB_STORAGE
  34. #define CONFIG_CMD_USB
  35. /* USB networking support */
  36. #define CONFIG_USB_HOST_ETHER
  37. #define CONFIG_USB_ETHER_SMSC95XX
  38. /* General networking support */
  39. #define CONFIG_CMD_NET
  40. #define CONFIG_CMD_DHCP
  41. /* LCD support */
  42. #define CONFIG_LCD
  43. #define CONFIG_PWM_TEGRA
  44. #define CONFIG_VIDEO_TEGRA
  45. #define LCD_BPP LCD_COLOR16
  46. #define CONFIG_SYS_WHITE_ON_BLACK
  47. /* support the new (FDT-based) image format */
  48. #define CONFIG_FIT
  49. #include "tegra-common-post.h"
  50. #endif /* __CONFIG_H */