tec-ng.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * (C) Copyright 2013
  3. * Avionic Design GmbH <www.avionic-design.de>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __CONFIG_H
  8. #define __CONFIG_H
  9. #include "tegra30-common.h"
  10. /* High-level configuration options */
  11. #define CONFIG_TEGRA_BOARD_STRING "Avionic Design Tamonten™ NG Evaluation Carrier"
  12. /* Board-specific serial config */
  13. #define CONFIG_TEGRA_ENABLE_UARTD
  14. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
  15. /* I2C */
  16. #define CONFIG_SYS_I2C_TEGRA
  17. /* SD/MMC */
  18. #define CONFIG_GENERIC_MMC
  19. #define CONFIG_TEGRA_MMC
  20. /* Environment in eMMC, at the end of 2nd "boot sector" */
  21. #define CONFIG_ENV_IS_IN_MMC
  22. #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
  23. #define CONFIG_SYS_MMC_ENV_DEV 0
  24. #define CONFIG_SYS_MMC_ENV_PART 2
  25. /* SPI */
  26. #define CONFIG_TEGRA_SLINK_CTRLS 6
  27. #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
  28. #define CONFIG_SF_DEFAULT_SPEED 24000000
  29. #define CONFIG_SPI_FLASH_SIZE (4 << 20)
  30. /* USB Host support */
  31. #define CONFIG_USB_EHCI
  32. #define CONFIG_USB_EHCI_TEGRA
  33. /* USB networking support */
  34. #define CONFIG_USB_HOST_ETHER
  35. #define CONFIG_USB_ETHER_SMSC95XX
  36. /* General networking support */
  37. /* Tag support */
  38. #define CONFIG_CMDLINE_TAG
  39. #define CONFIG_SETUP_MEMORY_TAGS
  40. #define CONFIG_INITRD_TAG
  41. #include "tegra-common-post.h"
  42. #endif /* __CONFIG_H */