blob: 09a5804e7a339d492f5d7e353a1257a028c7671e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Scott Branden5a5cb002014-08-11 13:58:25 -07002/*
3 * Copyright 2014 Broadcom Corporation.
Scott Branden5a5cb002014-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 Branden5a5cb002014-08-11 13:58:25 -070011#define CONFIG_SKIP_LOWLEVEL_INIT
12
Scott Branden5a5cb002014-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
Scott Branden5a5cb002014-08-11 13:58:25 -070027#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
Scott Branden5a5cb002014-08-11 13:58:25 -070028
29/* Some commands use this as the default load address */
30#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
31
Scott Branden5a5cb002014-08-11 13:58:25 -070032/*
33 * This is the initial SP which is used only briefly for relocating the u-boot
34 * image to the top of SDRAM. After relocation u-boot moves the stack to the
35 * proper place.
36 */
37#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
38
39/* allow to overwrite serial and ethaddr */
40#define CONFIG_ENV_OVERWRITE
41
42/* Serial Info */
Scott Branden5a5cb002014-08-11 13:58:25 -070043#define CONFIG_SYS_NS16550_SERIAL
44
Scott Branden5a5cb002014-08-11 13:58:25 -070045#define CONFIG_ENV_SIZE 0x2000
Scott Branden5a5cb002014-08-11 13:58:25 -070046
Scott Branden5a5cb002014-08-11 13:58:25 -070047/* console configuration */
48#define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */
Scott Branden5a5cb002014-08-11 13:58:25 -070049#define CONFIG_SYS_MAXARGS 64
50#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
51
Scott Branden5a5cb002014-08-11 13:58:25 -070052/* version string, parser, etc */
Scott Branden5a5cb002014-08-11 13:58:25 -070053
Scott Branden5a5cb002014-08-11 13:58:25 -070054#define CONFIG_MX_CYCLIC
55
Scott Branden5a5cb002014-08-11 13:58:25 -070056/* Enable Time Command */
Scott Branden5a5cb002014-08-11 13:58:25 -070057
Scott Branden5a5cb002014-08-11 13:58:25 -070058#endif /* __BCM_EP_BOARD_H */