blob: 4423e8613fcda23992fcc155cc49e504d95a371a [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Scott Brandenda1f5ac2014-08-11 13:58:25 -07002/*
3 * Copyright 2014 Broadcom Corporation.
Scott Brandenda1f5ac2014-08-11 13:58:25 -07004 */
5
6#ifndef __BCM_EP_BOARD_H
7#define __BCM_EP_BOARD_H
8
9#include <asm/arch/configs.h>
10
Scott Brandenda1f5ac2014-08-11 13:58:25 -070011#define CONFIG_SKIP_LOWLEVEL_INIT
12
Scott Brandenda1f5ac2014-08-11 13:58:25 -070013/*
14 * Memory configuration
15 * (these must be defined elsewhere)
16 */
17#ifndef CONFIG_SYS_TEXT_BASE
18#error CONFIG_SYS_TEXT_BASE must be defined!
19#endif
20#ifndef CONFIG_SYS_SDRAM_BASE
21#error CONFIG_SYS_SDRAM_BASE must be defined!
22#endif
23#ifndef CONFIG_SYS_SDRAM_SIZE
24#error CONFIG_SYS_SDRAM_SIZE must be defined!
25#endif
26
27#define CONFIG_NR_DRAM_BANKS 1
28
29#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
Scott Brandenda1f5ac2014-08-11 13:58:25 -070030
31/* Some commands use this as the default load address */
32#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
33
Scott Brandenda1f5ac2014-08-11 13:58:25 -070034/*
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
37 * proper place.
38 */
39#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
40
41/* allow to overwrite serial and ethaddr */
42#define CONFIG_ENV_OVERWRITE
43
44/* Serial Info */
Scott Brandenda1f5ac2014-08-11 13:58:25 -070045#define CONFIG_SYS_NS16550_SERIAL
46
Scott Brandenda1f5ac2014-08-11 13:58:25 -070047#define CONFIG_ENV_SIZE 0x2000
Scott Brandenda1f5ac2014-08-11 13:58:25 -070048
Scott Brandenda1f5ac2014-08-11 13:58:25 -070049/* console configuration */
50#define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */
Scott Brandenda1f5ac2014-08-11 13:58:25 -070051#define CONFIG_SYS_MAXARGS 64
52#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
53
Scott Brandenda1f5ac2014-08-11 13:58:25 -070054/* version string, parser, etc */
Scott Brandenda1f5ac2014-08-11 13:58:25 -070055
Scott Brandenda1f5ac2014-08-11 13:58:25 -070056#define CONFIG_MX_CYCLIC
57
Scott Brandenda1f5ac2014-08-11 13:58:25 -070058/* Enable Time Command */
Scott Brandenda1f5ac2014-08-11 13:58:25 -070059
Scott Brandenda1f5ac2014-08-11 13:58:25 -070060/* Misc utility code */
61#define CONFIG_BOUNCE_BUFFER
Scott Brandenda1f5ac2014-08-11 13:58:25 -070062
63#endif /* __BCM_EP_BOARD_H */