colibri_t20.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2012 Lucas Stach
  4. *
  5. * Configuration settings for the Toradex Colibri T20 modules.
  6. */
  7. #ifndef __CONFIG_H
  8. #define __CONFIG_H
  9. #include "tegra20-common.h"
  10. /* Board-specific serial config */
  11. #define CONFIG_TEGRA_ENABLE_UARTA
  12. #define CONFIG_TEGRA_UARTA_SDIO1
  13. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
  14. #define CONFIG_MACH_TYPE MACH_TYPE_COLIBRI_TEGRA2
  15. /* General networking support */
  16. #define CONFIG_TFTP_TSIZE
  17. /* LCD support */
  18. #define CONFIG_LCD_LOGO
  19. /* NAND support */
  20. #define CONFIG_TEGRA_NAND
  21. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  22. /* Environment in NAND, 64K is a bit excessive but erase block is 512K anyway */
  23. #define BOARD_EXTRA_ENV_SETTINGS \
  24. "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0"
  25. /* Increase console I/O buffer size */
  26. #undef CONFIG_SYS_CBSIZE
  27. #define CONFIG_SYS_CBSIZE 1024
  28. /* Increase arguments buffer size */
  29. #undef CONFIG_SYS_BARGSIZE
  30. #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
  31. /* Increase maximum number of arguments */
  32. #undef CONFIG_SYS_MAXARGS
  33. #define CONFIG_SYS_MAXARGS 32
  34. #include "tegra-common-usb-gadget.h"
  35. #include "tegra-common-post.h"
  36. #endif /* __CONFIG_H */