bcm_ep_board.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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_SYS_MALLOC_LEN (4 * 1024 * 1024)
  23. /* Some commands use this as the default load address */
  24. #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
  25. /*
  26. * This is the initial SP which is used only briefly for relocating the u-boot
  27. * image to the top of SDRAM. After relocation u-boot moves the stack to the
  28. * proper place.
  29. */
  30. #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
  31. /* allow to overwrite serial and ethaddr */
  32. #define CONFIG_ENV_OVERWRITE
  33. /* Serial Info */
  34. #define CONFIG_SYS_NS16550_SERIAL
  35. /* console configuration */
  36. #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */
  37. #define CONFIG_SYS_MAXARGS 64
  38. #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
  39. /* version string, parser, etc */
  40. /* Enable Time Command */
  41. #endif /* __BCM_EP_BOARD_H */