twister.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * Copyright (C) 2011
  3. * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
  4. *
  5. * Copyright (C) 2009 TechNexion Ltd.
  6. *
  7. * Configuration for the Technexion twister board.
  8. *
  9. * SPDX-License-Identifier: GPL-2.0+
  10. */
  11. #ifndef __CONFIG_H
  12. #define __CONFIG_H
  13. #include "tam3517-common.h"
  14. #define MACH_TYPE_TAM3517 2818
  15. #define CONFIG_MACH_TYPE MACH_TYPE_TAM3517
  16. #define CONFIG_TAM3517_SW3_SETTINGS
  17. #define CONFIG_XR16L2751
  18. #define CONFIG_BOOTFILE "uImage"
  19. #define CONFIG_HOSTNAME twister
  20. /*
  21. * Miscellaneous configurable options
  22. */
  23. #define CONFIG_SMC911X
  24. #define CONFIG_SMC911X_16_BIT
  25. #define CONFIG_SMC911X_BASE 0x2C000000
  26. #define CONFIG_SMC911X_NO_EEPROM
  27. #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
  28. "bootcmd=run nandboot\0"
  29. /* SPL OS boot options */
  30. #define CONFIG_CMD_SPL
  31. #define CONFIG_CMD_SPL_WRITE_SIZE 0x400 /* 1024 byte */
  32. #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000
  33. #define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
  34. 0x600000)
  35. #define CONFIG_SYS_SPL_ARGS_ADDR (PHYS_SDRAM_1 + 0x100)
  36. #define CONFIG_SPL_BOARD_INIT
  37. /* gpio 55 is used as SPL_OS_BOOT_KEY */
  38. #define CONFIG_OMAP3_GPIO_2
  39. #endif /* __CONFIG_H */