]>
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 | ||
5cc16d88 PC |
11 | /* ram memory-related information */ |
12 | #define CONFIG_NR_DRAM_BANKS 1 | |
13 | #define PHYS_SDRAM_1 0x40000000 | |
14 | #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 | |
15 | #define PHYS_SDRAM_1_SIZE 0x3FE00000 | |
16 | #define CONFIG_SYS_TEXT_BASE 0x7D600000 | |
17 | #define CONFIG_SYS_LOAD_ADDR PHYS_SDRAM_1 /* default load addr */ | |
18 | ||
5cc16d88 PC |
19 | #define CONFIG_SYS_HZ_CLOCK 1000000000 /* 1 GHz */ |
20 | ||
5cc16d88 PC |
21 | /* Environment */ |
22 | #define CONFIG_EXTRA_ENV_SETTINGS \ | |
23 | "board= B2260" \ | |
24 | "load_addr= #CONFIG_SYS_LOAD_ADDR \0" | |
25 | ||
5cc16d88 PC |
26 | #define CONFIG_ENV_SIZE 0x4000 |
27 | ||
28 | /* Extra Commands */ | |
29 | #define CONFIG_CMD_ASKENV | |
30 | #define CONFIG_SYS_LONGHELP | |
31 | ||
32 | #define CONFIG_SETUP_MEMORY_TAGS | |
33 | ||
34 | /* Size of malloc() pool */ | |
35 | #define CONFIG_SYS_MALLOC_LEN 0x1800000 | |
36 | #define CONFIG_SYS_GBL_DATA_SIZE 1024 /* Global data structures */ | |
37 | #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE - \ | |
38 | CONFIG_SYS_MALLOC_LEN - \ | |
39 | CONFIG_SYS_GBL_DATA_SIZE) | |
40 | ||
41 | /* Monitor Command Prompt */ | |
42 | #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ | |
43 | ||
5cc16d88 PC |
44 | #define CONFIG_SYS_MAX_FLASH_BANKS 1 |
45 | ||
46 | #define CONFIG_SKIP_LOWLEVEL_INIT | |
47 | ||
48 | #endif /* __CONFIG_H */ |