]>
Commit | Line | Data |
---|---|---|
5cc16d88 PC |
1 | /* |
2 | * (C) Copyright 2017 | |
3 | * Patrice Chotard, <patrice.chotard@st.com> | |
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 | /* ram memory-related information */ | |
14 | #define CONFIG_NR_DRAM_BANKS 1 | |
15 | #define PHYS_SDRAM_1 0x40000000 | |
16 | #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 | |
17 | #define PHYS_SDRAM_1_SIZE 0x3FE00000 | |
18 | #define CONFIG_SYS_TEXT_BASE 0x7D600000 | |
19 | #define CONFIG_SYS_LOAD_ADDR PHYS_SDRAM_1 /* default load addr */ | |
20 | ||
21 | #define CONFIG_BAUDRATE 115200 | |
22 | ||
23 | #define CONFIG_SYS_HZ_CLOCK 1000000000 /* 1 GHz */ | |
24 | ||
5cc16d88 PC |
25 | #define CONFIG_BOOTARGS \ |
26 | "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" | |
27 | ||
28 | /* Environment */ | |
29 | #define CONFIG_EXTRA_ENV_SETTINGS \ | |
30 | "board= B2260" \ | |
31 | "load_addr= #CONFIG_SYS_LOAD_ADDR \0" | |
32 | ||
33 | #define CONFIG_ENV_IS_NOWHERE | |
34 | #define CONFIG_ENV_SIZE 0x4000 | |
35 | ||
36 | /* Extra Commands */ | |
37 | #define CONFIG_CMD_ASKENV | |
38 | #define CONFIG_SYS_LONGHELP | |
39 | ||
40 | #define CONFIG_SETUP_MEMORY_TAGS | |
41 | ||
42 | /* Size of malloc() pool */ | |
43 | #define CONFIG_SYS_MALLOC_LEN 0x1800000 | |
44 | #define CONFIG_SYS_GBL_DATA_SIZE 1024 /* Global data structures */ | |
45 | #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE - \ | |
46 | CONFIG_SYS_MALLOC_LEN - \ | |
47 | CONFIG_SYS_GBL_DATA_SIZE) | |
48 | ||
49 | /* Monitor Command Prompt */ | |
50 | #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ | |
51 | ||
52 | #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ | |
53 | #define CONFIG_SYS_MAX_FLASH_BANKS 1 | |
54 | ||
55 | #define CONFIG_SKIP_LOWLEVEL_INIT | |
56 | ||
57 | #endif /* __CONFIG_H */ |