socfpga_arria10_socdk.h 1009 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2015-2019 Altera Corporation <www.altera.com>
  4. */
  5. #ifndef __CONFIG_SOCFGPA_ARRIA10_H__
  6. #define __CONFIG_SOCFGPA_ARRIA10_H__
  7. #include <asm/arch/base_addr_a10.h>
  8. /* Booting Linux */
  9. #define CONFIG_LOADADDR 0x01000000
  10. #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
  11. /*
  12. * U-Boot general configurations
  13. */
  14. /* Memory configurations */
  15. #define PHYS_SDRAM_1_SIZE 0x40000000
  16. /*
  17. * Serial / UART configurations
  18. */
  19. #define CONFIG_SYS_NS16550_MEM32
  20. #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200}
  21. /*
  22. * L4 OSC1 Timer 0
  23. */
  24. /* reload value when timer count to zero */
  25. #define TIMER_LOAD_VAL 0xFFFFFFFF
  26. /*
  27. * Flash configurations
  28. */
  29. #define CONFIG_SYS_MAX_FLASH_BANKS 1
  30. /* SPL memory allocation configuration, this is for FAT implementation */
  31. #define CONFIG_SYS_SPL_MALLOC_SIZE 0x00015000
  32. /* The rest of the configuration is shared */
  33. #include <configs/socfpga_common.h>
  34. #endif /* __CONFIG_SOCFGPA_ARRIA10_H__ */