tec-ng.h 1.1 KB

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