]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/bcm_ep_board.h
CONFIGS: peach-pit: Enable display for peach_pit board
[karo-tx-uboot.git] / include / configs / bcm_ep_board.h
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
12 /* Architecture, CPU, chip, etc */
13 #define CONFIG_ARMV7
14 #define CONFIG_SKIP_LOWLEVEL_INIT
15
16 #define CONFIG_SYS_GENERIC_BOARD
17
18 /*
19  * Memory configuration
20  * (these must be defined elsewhere)
21  */
22 #ifndef CONFIG_SYS_TEXT_BASE
23 #error  CONFIG_SYS_TEXT_BASE must be defined!
24 #endif
25 #ifndef CONFIG_SYS_SDRAM_BASE
26 #error  CONFIG_SYS_SDRAM_BASE must be defined!
27 #endif
28 #ifndef CONFIG_SYS_SDRAM_SIZE
29 #error  CONFIG_SYS_SDRAM_SIZE must be defined!
30 #endif
31
32 #define CONFIG_NR_DRAM_BANKS            1
33
34 #define CONFIG_SYS_MALLOC_LEN           (4 * 1024 * 1024)
35 #define CONFIG_STACKSIZE                (256 * 1024)
36
37 /* Some commands use this as the default load address */
38 #define CONFIG_SYS_LOAD_ADDR            CONFIG_SYS_SDRAM_BASE
39
40 /* No mtest functions as recommended */
41 #undef CONFIG_CMD_MEMORY
42
43 /*
44  * This is the initial SP which is used only briefly for relocating the u-boot
45  * image to the top of SDRAM. After relocation u-boot moves the stack to the
46  * proper place.
47  */
48 #define CONFIG_SYS_INIT_SP_ADDR         CONFIG_SYS_TEXT_BASE
49
50 /* allow to overwrite serial and ethaddr */
51 #define CONFIG_ENV_OVERWRITE
52
53 /* Serial Info */
54 #define CONFIG_SYS_NS16550
55 #define CONFIG_SYS_NS16550_SERIAL
56
57 #define CONFIG_BAUDRATE                 115200
58
59 #define CONFIG_ENV_SIZE                 0x2000
60 #define CONFIG_ENV_IS_NOWHERE
61
62 #define CONFIG_SYS_NO_FLASH     /* Not using NAND/NOR unmanaged flash */
63
64 /* console configuration */
65 #define CONFIG_SYS_CBSIZE               1024    /* Console buffer size */
66 #define CONFIG_SYS_PBSIZE               (CONFIG_SYS_CBSIZE + \
67                         sizeof(CONFIG_SYS_PROMPT) + 16) /* Printbuffer size */
68 #define CONFIG_SYS_MAXARGS              64
69 #define CONFIG_SYS_BARGSIZE             CONFIG_SYS_CBSIZE
70
71 /*
72  * One partition type must be defined for part.c
73  * This is necessary for the fatls command to work on an SD card
74  * for example.
75  */
76 #define CONFIG_DOS_PARTITION
77
78 /* version string, parser, etc */
79 #define CONFIG_VERSION_VARIABLE
80 #define CONFIG_AUTO_COMPLETE
81 #define CONFIG_SYS_HUSH_PARSER
82 #define CONFIG_CMDLINE_EDITING
83 #define CONFIG_COMMAND_HISTORY
84 #define CONFIG_SYS_LONGHELP
85
86 #define CONFIG_CRC32_VERIFY
87 #define CONFIG_MX_CYCLIC
88
89 /* Commands */
90 #include <config_cmd_default.h>
91
92 #define CONFIG_CMD_ASKENV
93 #define CONFIG_CMD_CACHE
94 #define CONFIG_CMD_FAT
95 #define CONFIG_FAT_WRITE
96
97 /* Enable devicetree support */
98 #define CONFIG_OF_LIBFDT
99
100 /* SHA hashing */
101 #define CONFIG_CMD_HASH
102 #define CONFIG_HASH_VERIFY
103 #define CONFIG_SHA1
104 #define CONFIG_SHA256
105
106 /* Enable Time Command */
107 #define CONFIG_CMD_TIME
108
109 #define CONFIG_CMD_BOOTZ
110
111 /* Misc utility code */
112 #define CONFIG_BOUNCE_BUFFER
113 #define CONFIG_CRC32_VERIFY
114
115 #endif /* __BCM_EP_BOARD_H */