paz00.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. * Copyright (c) 2010-2012 NVIDIA CORPORATION. All rights reserved.
  3. *
  4. * See file CREDITS for list of people who contributed to this
  5. * project.
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms and conditions of the GNU General Public License,
  9. * version 2, as published by the Free Software Foundation.
  10. *
  11. * This program is distributed in the hope it will be useful, but WITHOUT
  12. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  14. * more details.
  15. */
  16. #ifndef __CONFIG_H
  17. #define __CONFIG_H
  18. #include <asm/sizes.h>
  19. #include "tegra20-common.h"
  20. /* Enable fdt support for Paz00. Flash the image in u-boot-dtb.bin */
  21. #define CONFIG_DEFAULT_DEVICE_TREE tegra20-paz00
  22. #define CONFIG_OF_CONTROL
  23. #define CONFIG_OF_SEPARATE
  24. /* High-level configuration options */
  25. #define V_PROMPT "Tegra20 (Paz00) MOD # "
  26. #define CONFIG_TEGRA_BOARD_STRING "Compal Paz00"
  27. /* Board-specific serial config */
  28. #define CONFIG_TEGRA_ENABLE_UARTA
  29. #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
  30. #define CONFIG_MACH_TYPE MACH_TYPE_PAZ00
  31. #define CONFIG_BOARD_EARLY_INIT_F
  32. #define CONFIG_BOARD_LATE_INIT
  33. /* SD/MMC */
  34. #define CONFIG_MMC
  35. #define CONFIG_GENERIC_MMC
  36. #define CONFIG_TEGRA_MMC
  37. #define CONFIG_CMD_MMC
  38. #define CONFIG_DOS_PARTITION
  39. #define CONFIG_EFI_PARTITION
  40. #define CONFIG_FS_EXT4
  41. #define CONFIG_FS_FAT
  42. #define CONFIG_CMD_EXT2
  43. #define CONFIG_CMD_FAT
  44. #define CONFIG_CMD_FS_GENERIC
  45. /* Environment in eMMC, at the end of 2nd "boot sector" */
  46. #define CONFIG_ENV_IS_IN_MMC
  47. #define CONFIG_ENV_OFFSET ((1024 * 1024) - CONFIG_ENV_SIZE)
  48. #define CONFIG_SYS_MMC_ENV_DEV 0
  49. #define CONFIG_SYS_MMC_ENV_PART 2
  50. /* USB Host support */
  51. #define CONFIG_USB_EHCI
  52. #define CONFIG_USB_EHCI_TEGRA
  53. #define CONFIG_USB_STORAGE
  54. #define CONFIG_CMD_USB
  55. /* USB networking support */
  56. #define CONFIG_USB_HOST_ETHER
  57. #define CONFIG_USB_ETHER_ASIX
  58. /* General networking support */
  59. #define CONFIG_CMD_NET
  60. #define CONFIG_CMD_DHCP
  61. /* LCD support */
  62. #define CONFIG_LCD
  63. #define CONFIG_PWM_TEGRA
  64. #define CONFIG_VIDEO_TEGRA
  65. #define LCD_BPP LCD_COLOR16
  66. #define CONFIG_SYS_WHITE_ON_BLACK
  67. #define CONFIG_CONSOLE_SCROLL_LINES 10
  68. #include "tegra-common-post.h"
  69. #endif /* __CONFIG_H */