bcm_ep_board.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2014 Broadcom Corporation.
  4. */
  5. #ifndef __BCM_EP_BOARD_H
  6. #define __BCM_EP_BOARD_H
  7. #include <asm/arch/configs.h>
  8. #define CONFIG_SKIP_LOWLEVEL_INIT
  9. /*
  10. * Memory configuration
  11. * (these must be defined elsewhere)
  12. */
  13. #ifndef CONFIG_SYS_TEXT_BASE
  14. #error CONFIG_SYS_TEXT_BASE must be defined!
  15. #endif
  16. #ifndef CONFIG_SYS_SDRAM_BASE
  17. #error CONFIG_SYS_SDRAM_BASE must be defined!
  18. #endif
  19. #ifndef CONFIG_SYS_SDRAM_SIZE
  20. #error CONFIG_SYS_SDRAM_SIZE must be defined!
  21. #endif
  22. #define CONFIG_NR_DRAM_BANKS 1
  23. #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
  24. /* Some commands use this as the default load address */
  25. #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
  26. /*
  27. * This is the initial SP which is used only briefly for relocating the u-boot
  28. * image to the top of SDRAM. After relocation u-boot moves the stack to the
  29. * proper place.
  30. */
  31. #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
  32. /* allow to overwrite serial and ethaddr */
  33. #define CONFIG_ENV_OVERWRITE
  34. /* Serial Info */
  35. #define CONFIG_SYS_NS16550_SERIAL
  36. #define CONFIG_ENV_SIZE 0x2000
  37. /* console configuration */
  38. #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */
  39. #define CONFIG_SYS_MAXARGS 64
  40. #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
  41. /* version string, parser, etc */
  42. #define CONFIG_MX_CYCLIC
  43. /* Enable Time Command */
  44. /* Misc utility code */
  45. #define CONFIG_BOUNCE_BUFFER
  46. #endif /* __BCM_EP_BOARD_H */