highbank.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2010-2011 Calxeda, Inc.
  4. */
  5. #ifndef __CONFIG_H
  6. #define __CONFIG_H
  7. #define CONFIG_SYS_BOOTMAPSZ (16 << 20)
  8. #define CONFIG_SYS_TIMER_RATE (150000000/256)
  9. #define CONFIG_SYS_TIMER_COUNTER (0xFFF34000 + 0x4)
  10. #define CONFIG_SYS_TIMER_COUNTS_DOWN
  11. #define CONFIG_PL011_CLOCK 150000000
  12. #define CONFIG_SYS_BOOTCOUNT_LE /* Use little-endian accessors */
  13. #define CONFIG_SCSI_AHCI_PLAT
  14. #define CONFIG_SYS_SCSI_MAX_SCSI_ID 5
  15. #define CONFIG_SYS_SCSI_MAX_LUN 1
  16. #define CONFIG_BOOT_RETRY_TIME -1
  17. #define CONFIG_RESET_TO_RETRY
  18. /*
  19. * Miscellaneous configurable options
  20. */
  21. #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
  22. #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
  23. #define CONFIG_SYS_64BIT_LBA
  24. /* Environment data setup
  25. */
  26. #define CONFIG_SYS_NVRAM_BASE_ADDR 0xfff88000 /* NVRAM base address */
  27. #define CONFIG_SYS_NVRAM_SIZE 0x8000 /* NVRAM size */
  28. #define CONFIG_SYS_SDRAM_BASE 0x00000000
  29. #define CONFIG_SYS_INIT_SP_ADDR 0x01000000
  30. #define CONFIG_EXTRA_ENV_SETTINGS \
  31. "fdt_high=0x20000000\0" \
  32. "initrd_high=0x20000000\0"
  33. #endif