]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/configs/bcm_ep_board.h
arm, powerpc: select SYS_GENERIC_BOARD
[people/ms/u-boot.git] / include / configs / bcm_ep_board.h
CommitLineData
da1f5ac2
SB
1/*
2 * Copyright 2014 Broadcom Corporation.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef __BCM_EP_BOARD_H
8#define __BCM_EP_BOARD_H
9
10#include <asm/arch/configs.h>
11
da1f5ac2
SB
12#define CONFIG_SKIP_LOWLEVEL_INIT
13
da1f5ac2
SB
14
15/*
16 * Memory configuration
17 * (these must be defined elsewhere)
18 */
19#ifndef CONFIG_SYS_TEXT_BASE
20#error CONFIG_SYS_TEXT_BASE must be defined!
21#endif
22#ifndef CONFIG_SYS_SDRAM_BASE
23#error CONFIG_SYS_SDRAM_BASE must be defined!
24#endif
25#ifndef CONFIG_SYS_SDRAM_SIZE
26#error CONFIG_SYS_SDRAM_SIZE must be defined!
27#endif
28
29#define CONFIG_NR_DRAM_BANKS 1
30
31#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
32#define CONFIG_STACKSIZE (256 * 1024)
33
34/* Some commands use this as the default load address */
35#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
36
da1f5ac2
SB
37/*
38 * This is the initial SP which is used only briefly for relocating the u-boot
39 * image to the top of SDRAM. After relocation u-boot moves the stack to the
40 * proper place.
41 */
42#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
43
44/* allow to overwrite serial and ethaddr */
45#define CONFIG_ENV_OVERWRITE
46
47/* Serial Info */
48#define CONFIG_SYS_NS16550
49#define CONFIG_SYS_NS16550_SERIAL
50
51#define CONFIG_BAUDRATE 115200
52
53#define CONFIG_ENV_SIZE 0x2000
54#define CONFIG_ENV_IS_NOWHERE
55
56#define CONFIG_SYS_NO_FLASH /* Not using NAND/NOR unmanaged flash */
57
58/* console configuration */
59#define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */
60#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
61 sizeof(CONFIG_SYS_PROMPT) + 16) /* Printbuffer size */
62#define CONFIG_SYS_MAXARGS 64
63#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
64
65/*
66 * One partition type must be defined for part.c
67 * This is necessary for the fatls command to work on an SD card
68 * for example.
69 */
70#define CONFIG_DOS_PARTITION
71
72/* version string, parser, etc */
73#define CONFIG_VERSION_VARIABLE
74#define CONFIG_AUTO_COMPLETE
75#define CONFIG_SYS_HUSH_PARSER
76#define CONFIG_CMDLINE_EDITING
77#define CONFIG_COMMAND_HISTORY
78#define CONFIG_SYS_LONGHELP
79
80#define CONFIG_CRC32_VERIFY
81#define CONFIG_MX_CYCLIC
82
83/* Commands */
da1f5ac2
SB
84#define CONFIG_CMD_ASKENV
85#define CONFIG_CMD_CACHE
86#define CONFIG_CMD_FAT
87#define CONFIG_FAT_WRITE
88
89/* Enable devicetree support */
90#define CONFIG_OF_LIBFDT
91
92/* SHA hashing */
93#define CONFIG_CMD_HASH
94#define CONFIG_HASH_VERIFY
95#define CONFIG_SHA1
96#define CONFIG_SHA256
97
98/* Enable Time Command */
99#define CONFIG_CMD_TIME
100
101#define CONFIG_CMD_BOOTZ
102
103/* Misc utility code */
104#define CONFIG_BOUNCE_BUFFER
105#define CONFIG_CRC32_VERIFY
106
107#endif /* __BCM_EP_BOARD_H */