exynos5-dt-common.h 861 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (C) 2014 Google, Inc
  3. *
  4. * Configuration settings for generic Exynos 5 board
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. */
  8. #ifndef __CONFIG_EXYNOS5_DT_COMMON_H
  9. #define __CONFIG_EXYNOS5_DT_COMMON_H
  10. /* Console configuration */
  11. #undef EXYNOS_DEVICE_SETTINGS
  12. #define EXYNOS_DEVICE_SETTINGS \
  13. "stdin=serial,cros-ec-keyb\0" \
  14. "stdout=serial,vidconsole\0" \
  15. "stderr=serial,vidconsole\0"
  16. #define CONFIG_EXYNOS5_DT
  17. #define CONFIG_ENV_IS_IN_SPI_FLASH
  18. #define CONFIG_ENV_SPI_BASE 0x12D30000
  19. #define FLASH_SIZE (4 << 20)
  20. #define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_ENV_SECT_SIZE)
  21. #define CONFIG_SPI_BOOTING
  22. #define CONFIG_BOARD_COMMON
  23. /* Display */
  24. #ifdef CONFIG_LCD
  25. #define CONFIG_EXYNOS_FB
  26. #define CONFIG_EXYNOS_DP
  27. #define LCD_BPP LCD_COLOR16
  28. #define CONFIG_SYS_WHITE_ON_BLACK
  29. #endif
  30. /* Enable keyboard */
  31. #define CONFIG_KEYBOARD
  32. #endif