Patrice Chotard | 246771b | 2017-09-13 18:00:12 +0200 | [diff] [blame] | 1 | /* |
Patrice Chotard | 3bc599c | 2017-10-23 09:53:58 +0200 | [diff] [blame] | 2 | * Copyright (C) 2017, STMicroelectronics - All Rights Reserved |
| 3 | * Author(s): Patrice Chotard, <patrice.chotard@st.com> for STMicroelectronics. |
Patrice Chotard | 246771b | 2017-09-13 18:00:12 +0200 | [diff] [blame] | 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 |
Patrice Chotard | ca4abdc | 2017-10-03 15:47:59 +0200 | [diff] [blame] | 14 | #define CONFIG_SYS_INIT_SP_ADDR 0x24040000 |
Patrice Chotard | 246771b | 2017-09-13 18:00:12 +0200 | [diff] [blame] | 15 | |
| 16 | /* |
| 17 | * Configuration of the external SDRAM memory |
| 18 | */ |
| 19 | #define CONFIG_NR_DRAM_BANKS 1 |
| 20 | #define CONFIG_SYS_RAM_BASE 0xD0000000 |
| 21 | #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_RAM_BASE |
| 22 | #define CONFIG_SYS_LOAD_ADDR 0xD0400000 |
| 23 | #define CONFIG_LOADADDR 0xD0400000 |
| 24 | |
| 25 | #define CONFIG_ENV_SIZE (8 << 10) |
| 26 | |
| 27 | #define CONFIG_SYS_ARCH_TIMER |
| 28 | #define CONFIG_SYS_HZ_CLOCK 250000000 |
| 29 | |
| 30 | #define CONFIG_CMDLINE_TAG |
| 31 | #define CONFIG_SETUP_MEMORY_TAGS |
| 32 | #define CONFIG_INITRD_TAG |
| 33 | #define CONFIG_REVISION_TAG |
| 34 | |
| 35 | #define CONFIG_SYS_MAXARGS 16 |
| 36 | #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) |
| 37 | |
| 38 | #define CONFIG_BOOTARGS \ |
| 39 | "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" |
| 40 | |
Patrice Chotard | 4c82b03 | 2018-02-06 10:47:59 +0100 | [diff] [blame] | 41 | #define CONFIG_ENV_VARS_UBOOT_CONFIG |
| 42 | |
Patrice Chotard | 246771b | 2017-09-13 18:00:12 +0200 | [diff] [blame] | 43 | /* |
| 44 | * Command line configuration. |
| 45 | */ |
| 46 | #define CONFIG_SYS_LONGHELP |
| 47 | #define CONFIG_AUTO_COMPLETE |
| 48 | #define CONFIG_CMDLINE_EDITING |
| 49 | #define CONFIG_CMD_CACHE |
| 50 | #define CONFIG_BOARD_LATE_INIT |
| 51 | |
| 52 | #endif /* __CONFIG_H */ |