whistler.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 Whistler"
  13. /* Board-specific serial config */
  14. #define CONFIG_TEGRA_ENABLE_UARTA
  15. #define CONFIG_TEGRA_UARTA_UAA_UAB
  16. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
  17. #define CONFIG_MACH_TYPE MACH_TYPE_WHISTLER
  18. /* I2C */
  19. #define CONFIG_SYS_I2C_TEGRA
  20. /* SD/MMC */
  21. #define CONFIG_GENERIC_MMC
  22. #define CONFIG_TEGRA_MMC
  23. /*
  24. * Environment in eMMC, at the end of 2nd "boot sector". Note: This assumes
  25. * the user plugged the standard 8GB MoviNAND card into J29/HSMMC/POP. If
  26. * they didn't, the boot sector layout may be different. However, use of that
  27. * particular card is standard practice as far as I know.
  28. */
  29. #define CONFIG_ENV_IS_IN_MMC
  30. #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
  31. #define CONFIG_SYS_MMC_ENV_DEV 0
  32. #define CONFIG_SYS_MMC_ENV_PART 2
  33. /* USB Host support */
  34. #define CONFIG_USB_EHCI
  35. #define CONFIG_USB_EHCI_TEGRA
  36. /* USB networking support */
  37. #define CONFIG_USB_HOST_ETHER
  38. #define CONFIG_USB_ETHER_ASIX
  39. /* General networking support */
  40. #include "tegra-common-post.h"
  41. #endif /* __CONFIG_H */