2 * Copyright 2014 Broadcom Corporation.
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef __BCM_EP_BOARD_H
8 #define __BCM_EP_BOARD_H
10 #include <asm/arch/configs.h>
12 #define CONFIG_SKIP_LOWLEVEL_INIT
15 * Memory configuration
16 * (these must be defined elsewhere)
18 #ifndef CONFIG_SYS_TEXT_BASE
19 #error CONFIG_SYS_TEXT_BASE must be defined!
21 #ifndef CONFIG_SYS_SDRAM_BASE
22 #error CONFIG_SYS_SDRAM_BASE must be defined!
24 #ifndef CONFIG_SYS_SDRAM_SIZE
25 #error CONFIG_SYS_SDRAM_SIZE must be defined!
28 #define CONFIG_NR_DRAM_BANKS 1
30 #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
32 /* Some commands use this as the default load address */
33 #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
36 * This is the initial SP which is used only briefly for relocating the u-boot
37 * image to the top of SDRAM. After relocation u-boot moves the stack to the
40 #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
42 /* allow to overwrite serial and ethaddr */
43 #define CONFIG_ENV_OVERWRITE
46 #define CONFIG_SYS_NS16550_SERIAL
48 #define CONFIG_ENV_SIZE 0x2000
49 #define CONFIG_ENV_IS_NOWHERE
51 /* console configuration */
52 #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */
53 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
54 sizeof(CONFIG_SYS_PROMPT) + 16) /* Printbuffer size */
55 #define CONFIG_SYS_MAXARGS 64
56 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
58 /* version string, parser, etc */
59 #define CONFIG_AUTO_COMPLETE
60 #define CONFIG_CMDLINE_EDITING
61 #define CONFIG_SYS_LONGHELP
63 #define CONFIG_CRC32_VERIFY
64 #define CONFIG_MX_CYCLIC
67 #define CONFIG_FAT_WRITE
70 #define CONFIG_CMD_HASH
71 #define CONFIG_HASH_VERIFY
75 /* Enable Time Command */
77 /* Misc utility code */
78 #define CONFIG_BOUNCE_BUFFER
79 #define CONFIG_CRC32_VERIFY
81 #endif /* __BCM_EP_BOARD_H */