b0061cd0de1f8efd360856d1ac5010d2b81990a5
[platform/kernel/u-boot.git] / include / configs / stm32h743-eval.h
1 /*
2  * Copyright (C) STMicroelectronics SA 2017
3  * Author(s): Patrice CHOTARD, <patrice.chotard@st.com> for STMicroelectronics.
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #ifndef __CONFIG_H
9 #define __CONFIG_H
10
11 #include <config.h>
12
13 #define CONFIG_SYS_FLASH_BASE           0x08000000
14 #define CONFIG_SYS_INIT_SP_ADDR         0x30020000
15 #define CONFIG_SYS_TEXT_BASE            0x08000000
16
17 /*
18  * Configuration of the external SDRAM memory
19  */
20 #define CONFIG_NR_DRAM_BANKS            1
21 #define CONFIG_SYS_RAM_BASE             0xD0000000
22 #define CONFIG_SYS_SDRAM_BASE           CONFIG_SYS_RAM_BASE
23 #define CONFIG_SYS_LOAD_ADDR            0xD0400000
24 #define CONFIG_LOADADDR                 0xD0400000
25
26 #define CONFIG_ENV_SIZE                 (8 << 10)
27
28 #define CONFIG_SYS_ARCH_TIMER
29 #define CONFIG_SYS_HZ_CLOCK             250000000
30
31 #define CONFIG_CMDLINE_TAG
32 #define CONFIG_SETUP_MEMORY_TAGS
33 #define CONFIG_INITRD_TAG
34 #define CONFIG_REVISION_TAG
35
36 #define CONFIG_SYS_MAXARGS              16
37 #define CONFIG_SYS_MALLOC_LEN           (1 * 1024 * 1024)
38
39 #define CONFIG_BOOTARGS                                                 \
40         "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
41
42 /*
43  * Command line configuration.
44  */
45 #define CONFIG_SYS_LONGHELP
46 #define CONFIG_AUTO_COMPLETE
47 #define CONFIG_CMDLINE_EDITING
48 #define CONFIG_CMD_CACHE
49 #define CONFIG_BOARD_LATE_INIT
50
51 #endif /* __CONFIG_H */