xfi3.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * Copyright (C) 2013 Marek Vasut <marex@denx.de>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __CONFIGS_XFI3_H__
  7. #define __CONFIGS_XFI3_H__
  8. /* System configurations */
  9. #define CONFIG_MX23 /* i.MX23 SoC */
  10. /* U-Boot Commands */
  11. #define CONFIG_SYS_NO_FLASH
  12. #define CONFIG_DOS_PARTITION
  13. /* Memory configuration */
  14. #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
  15. #define PHYS_SDRAM_1 0x40000000 /* Base address */
  16. #define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */
  17. #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
  18. /* Environment */
  19. #define CONFIG_ENV_SIZE (16 * 1024)
  20. #define CONFIG_ENV_IS_NOWHERE
  21. #define CONFIG_ENV_OVERWRITE
  22. /* Booting Linux */
  23. #define CONFIG_BOOTFILE "uImage"
  24. #define CONFIG_BOOTARGS "console=ttyAMA0,115200n8 "
  25. #define CONFIG_LOADADDR 0x42000000
  26. #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
  27. /* LCD */
  28. #ifdef CONFIG_VIDEO
  29. #define CONFIG_VIDEO_FONT_4X6
  30. #define CONFIG_VIDEO_MXS_MODE_SYSTEM
  31. #define CONFIG_SYS_BLACK_IN_WRITE
  32. #define LCD_BPP LCD_COLOR16
  33. #endif
  34. /* USB */
  35. #ifdef CONFIG_CMD_USB
  36. #define CONFIG_EHCI_MXS_PORT0
  37. #define CONFIG_USB_MAX_CONTROLLER_COUNT 1
  38. #define CONFIG_USB_ETHER
  39. #define CONFIG_USB_ETH_CDC
  40. #define CONFIG_NETCONSOLE
  41. #endif
  42. /* The rest of the configuration is shared */
  43. #include <configs/mxs.h>
  44. #endif /* __CONFIGS_XFI3_H__ */