harmony.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * (C) Copyright 2010-2012
  3. * NVIDIA Corporation <www.nvidia.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __CONFIG_H
  8. #define __CONFIG_H
  9. #include <linux/sizes.h>
  10. #include "tegra20-common.h"
  11. /* High-level configuration options */
  12. #define CONFIG_TEGRA_BOARD_STRING "NVIDIA Harmony"
  13. /* Board-specific serial config */
  14. #define CONFIG_TEGRA_ENABLE_UARTD
  15. /* UARTD: keyboard satellite board UART, default */
  16. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
  17. #ifdef CONFIG_TEGRA_ENABLE_UARTA
  18. /* UARTA: debug board UART */
  19. #define CONFIG_SYS_NS16550_COM2 NV_PA_APB_UARTA_BASE
  20. #endif
  21. #define CONFIG_MACH_TYPE MACH_TYPE_HARMONY
  22. /* SD/MMC */
  23. #define CONFIG_GENERIC_MMC
  24. #define CONFIG_TEGRA_MMC
  25. /* NAND support */
  26. #define CONFIG_CMD_NAND
  27. #define CONFIG_TEGRA_NAND
  28. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  29. /* Environment in NAND (which is 512M), aligned to start of last sector */
  30. #define CONFIG_ENV_IS_IN_NAND
  31. #define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sector size */
  32. /* USB Host support */
  33. #define CONFIG_USB_EHCI
  34. #define CONFIG_USB_EHCI_TEGRA
  35. /* USB networking support */
  36. #define CONFIG_USB_HOST_ETHER
  37. #define CONFIG_USB_ETHER_ASIX
  38. #define CONFIG_USB_ETHER_MCS7830
  39. #define CONFIG_USB_ETHER_SMSC95XX
  40. /* General networking support */
  41. /* LCD support */
  42. #define CONFIG_SYS_WHITE_ON_BLACK
  43. #include "tegra-common-post.h"
  44. #endif /* __CONFIG_H */