plutux.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * (C) Copyright 2010,2011
  3. * NVIDIA Corporation <www.nvidia.com>
  4. * (C) Copyright 2011-2012
  5. * Avionic Design GmbH <www.avionic-design.de>
  6. *
  7. * SPDX-License-Identifier: GPL-2.0+
  8. */
  9. #ifndef __CONFIG_H
  10. #define __CONFIG_H
  11. #include "tegra20-common.h"
  12. /* Enable fdt support for Plutux. Flash the image in u-boot-dtb.bin */
  13. #define CONFIG_DEFAULT_DEVICE_TREE tegra20-plutux
  14. #define CONFIG_OF_CONTROL
  15. #define CONFIG_OF_SEPARATE
  16. /* High-level configuration options */
  17. #define V_PROMPT "Tegra20 (Plutux) # "
  18. #define CONFIG_TEGRA_BOARD_STRING "Avionic Design Plutux"
  19. /* Board-specific serial config */
  20. #define CONFIG_TEGRA_ENABLE_UARTD /* UARTD: debug UART */
  21. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
  22. #define CONFIG_BOARD_EARLY_INIT_F
  23. #define CONFIG_BOARD_LATE_INIT
  24. /* SD/MMC */
  25. #define CONFIG_MMC
  26. #define CONFIG_GENERIC_MMC
  27. #define CONFIG_TEGRA_MMC
  28. #define CONFIG_CMD_MMC
  29. /* NAND support */
  30. #define CONFIG_CMD_NAND
  31. #define CONFIG_TEGRA_NAND
  32. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  33. /* Environment in NAND, aligned to start of last sector */
  34. #define CONFIG_ENV_IS_IN_NAND
  35. #define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */
  36. /* USB host support */
  37. #define CONFIG_USB_EHCI
  38. #define CONFIG_USB_EHCI_TEGRA
  39. #define CONFIG_USB_STORAGE
  40. #define CONFIG_CMD_USB
  41. /* USB networking support */
  42. #define CONFIG_USB_HOST_ETHER
  43. #define CONFIG_USB_ETHER_SMSC95XX
  44. /* General networking support */
  45. #define CONFIG_CMD_NET
  46. #define CONFIG_CMD_DHCP
  47. /* support the new (FDT-based) image format */
  48. #define CONFIG_FIT
  49. #include "tegra-common-post.h"
  50. #endif /* __CONFIG_H */