colibri_t20_iris.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. /* USB host support */
  36. #define CONFIG_USB_EHCI
  37. #define CONFIG_USB_EHCI_TEGRA
  38. #define CONFIG_USB_ULPI
  39. #define CONFIG_USB_ULPI_VIEWPORT
  40. #define CONFIG_USB_STORAGE
  41. #define CONFIG_USB_MAX_CONTROLLER_COUNT 3
  42. #define CONFIG_CMD_USB
  43. /* USB networking support */
  44. #define CONFIG_USB_HOST_ETHER
  45. #define CONFIG_USB_ETHER_ASIX
  46. #define CONFIG_CMD_NET
  47. #define CONFIG_CMD_DHCP
  48. #define CONFIG_CMD_NFS
  49. #define CONFIG_CMD_PING
  50. /* NAND support */
  51. #define CONFIG_CMD_NAND
  52. #define CONFIG_TEGRA_NAND
  53. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  54. /* Environment in NAND, 64K is a bit excessive but erase block is 512K anyway */
  55. #define CONFIG_ENV_IS_IN_NAND
  56. #define CONFIG_ENV_OFFSET (SZ_2M)
  57. #undef CONFIG_ENV_SIZE /* undef size from tegra20-common.h */
  58. #define CONFIG_ENV_SIZE (SZ_64K)
  59. /* Debug commands */
  60. #define CONFIG_CMD_BDI
  61. #define CONFIG_CMD_CACHE
  62. #include "tegra-common-post.h"
  63. #endif /* __CONFIG_H */