colibri_t20_iris.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*
  2. * Copyright (C) 2012 Lucas Stach
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License as
  6. * published by the Free Software Foundation; either version 2 of
  7. * the License, or (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. */
  15. #ifndef __CONFIG_H
  16. #define __CONFIG_H
  17. #include "tegra20-common.h"
  18. /* Enable FDT support */
  19. #define CONFIG_DEFAULT_DEVICE_TREE tegra20-colibri_t20_iris
  20. #define CONFIG_OF_CONTROL
  21. #define CONFIG_OF_SEPARATE
  22. /* High-level configuration options */
  23. #define V_PROMPT "Tegra20 (Colibri) # "
  24. #define CONFIG_TEGRA_BOARD_STRING "Toradex Colibri T20 on Iris"
  25. /* Board-specific serial config */
  26. #define CONFIG_TEGRA_ENABLE_UARTA
  27. #define CONFIG_TEGRA_UARTA_SDIO1
  28. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
  29. #define CONFIG_BOARD_EARLY_INIT_F
  30. /* SD/MMC support */
  31. #define CONFIG_MMC
  32. #define CONFIG_GENERIC_MMC
  33. #define CONFIG_TEGRA_MMC
  34. #define CONFIG_CMD_MMC
  35. /* File system support */
  36. #define CONFIG_DOS_PARTITION
  37. #define CONFIG_EFI_PARTITION
  38. #define CONFIG_CMD_EXT2
  39. #define CONFIG_CMD_FAT
  40. /* USB host support */
  41. #define CONFIG_USB_EHCI
  42. #define CONFIG_USB_EHCI_TEGRA
  43. #define CONFIG_USB_ULPI
  44. #define CONFIG_USB_ULPI_VIEWPORT
  45. #define CONFIG_USB_STORAGE
  46. #define CONFIG_USB_MAX_CONTROLLER_COUNT 3
  47. #define CONFIG_CMD_USB
  48. /* USB networking support */
  49. #define CONFIG_USB_HOST_ETHER
  50. #define CONFIG_USB_ETHER_ASIX
  51. #define CONFIG_CMD_NET
  52. #define CONFIG_CMD_DHCP
  53. #define CONFIG_CMD_NFS
  54. #define CONFIG_CMD_PING
  55. /* NAND support */
  56. #define CONFIG_CMD_NAND
  57. #define CONFIG_TEGRA_NAND
  58. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  59. /* Environment in NAND, 64K is a bit excessive but erase block is 512K anyway */
  60. #define CONFIG_ENV_IS_IN_NAND
  61. #define CONFIG_ENV_OFFSET (SZ_2M)
  62. #undef CONFIG_ENV_SIZE /* undef size from tegra20-common.h */
  63. #define CONFIG_ENV_SIZE (SZ_64K)
  64. /* Debug commands */
  65. #define CONFIG_CMD_BDI
  66. #define CONFIG_CMD_CACHE
  67. #include "tegra-common-post.h"
  68. #endif /* __CONFIG_H */