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
14 #define CONFIG_SYS_GENERIC_BOARD
17 * Memory configuration
18 * (these must be defined elsewhere)
20 #ifndef CONFIG_SYS_TEXT_BASE
21 #error CONFIG_SYS_TEXT_BASE must be defined!
23 #ifndef CONFIG_SYS_SDRAM_BASE
24 #error CONFIG_SYS_SDRAM_BASE must be defined!
26 #ifndef CONFIG_SYS_SDRAM_SIZE
27 #error CONFIG_SYS_SDRAM_SIZE must be defined!
30 #define CONFIG_NR_DRAM_BANKS 1
32 #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
33 #define CONFIG_STACKSIZE (256 * 1024)
35 /* Some commands use this as the default load address */
36 #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
39 * This is the initial SP which is used only briefly for relocating the u-boot
40 * image to the top of SDRAM. After relocation u-boot moves the stack to the
43 #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
45 /* allow to overwrite serial and ethaddr */
46 #define CONFIG_ENV_OVERWRITE
49 #define CONFIG_SYS_NS16550
50 #define CONFIG_SYS_NS16550_SERIAL
52 #define CONFIG_BAUDRATE 115200
54 #define CONFIG_ENV_SIZE 0x2000
55 #define CONFIG_ENV_IS_NOWHERE
57 #define CONFIG_SYS_NO_FLASH /* Not using NAND/NOR unmanaged flash */
59 /* console configuration */
60 #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */
61 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
62 sizeof(CONFIG_SYS_PROMPT) + 16) /* Printbuffer size */
63 #define CONFIG_SYS_MAXARGS 64
64 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
67 * One partition type must be defined for part.c
68 * This is necessary for the fatls command to work on an SD card
71 #define CONFIG_DOS_PARTITION
73 /* version string, parser, etc */
74 #define CONFIG_VERSION_VARIABLE
75 #define CONFIG_AUTO_COMPLETE
76 #define CONFIG_SYS_HUSH_PARSER
77 #define CONFIG_CMDLINE_EDITING
78 #define CONFIG_COMMAND_HISTORY
79 #define CONFIG_SYS_LONGHELP
81 #define CONFIG_CRC32_VERIFY
82 #define CONFIG_MX_CYCLIC
85 #define CONFIG_CMD_ASKENV
86 #define CONFIG_CMD_CACHE
87 #define CONFIG_CMD_FAT
88 #define CONFIG_FAT_WRITE
90 /* Enable devicetree support */
91 #define CONFIG_OF_LIBFDT
94 #define CONFIG_CMD_HASH
95 #define CONFIG_HASH_VERIFY
99 /* Enable Time Command */
100 #define CONFIG_CMD_TIME
102 #define CONFIG_CMD_BOOTZ
104 /* Misc utility code */
105 #define CONFIG_BOUNCE_BUFFER
106 #define CONFIG_CRC32_VERIFY
108 #endif /* __BCM_EP_BOARD_H */