1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2014 Broadcom Corporation.
6 #ifndef __BCM_EP_BOARD_H
7 #define __BCM_EP_BOARD_H
9 #include <asm/arch/configs.h>
11 #define CONFIG_SKIP_LOWLEVEL_INIT
14 * Memory configuration
15 * (these must be defined elsewhere)
17 #ifndef CONFIG_SYS_TEXT_BASE
18 #error CONFIG_SYS_TEXT_BASE must be defined!
20 #ifndef CONFIG_SYS_SDRAM_BASE
21 #error CONFIG_SYS_SDRAM_BASE must be defined!
23 #ifndef CONFIG_SYS_SDRAM_SIZE
24 #error CONFIG_SYS_SDRAM_SIZE must be defined!
27 #define CONFIG_NR_DRAM_BANKS 1
29 #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
31 /* Some commands use this as the default load address */
32 #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
35 * This is the initial SP which is used only briefly for relocating the u-boot
36 * image to the top of SDRAM. After relocation u-boot moves the stack to the
39 #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
41 /* allow to overwrite serial and ethaddr */
42 #define CONFIG_ENV_OVERWRITE
45 #define CONFIG_SYS_NS16550_SERIAL
47 #define CONFIG_ENV_SIZE 0x2000
49 /* console configuration */
50 #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */
51 #define CONFIG_SYS_MAXARGS 64
52 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
54 /* version string, parser, etc */
56 #define CONFIG_MX_CYCLIC
58 /* Enable Time Command */
60 /* Misc utility code */
61 #define CONFIG_BOUNCE_BUFFER
63 #endif /* __BCM_EP_BOARD_H */