]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
8cbb0ddd TC |
2 | /* |
3 | * (C) Copyright 2005, Psyent Corporation <www.psyent.com> | |
4 | * Scott McNutt <[email protected]> | |
5 | * (C) Copyright 2010, Thomas Chou <[email protected]> | |
8cbb0ddd TC |
6 | */ |
7 | ||
8 | #ifndef __CONFIG_H | |
9 | #define __CONFIG_H | |
10 | ||
11 | /* | |
12 | * BOARD/CPU | |
13 | */ | |
8cbb0ddd TC |
14 | |
15 | /* | |
16 | * SERIAL | |
17 | */ | |
8cbb0ddd | 18 | |
6168dc6a TC |
19 | /* |
20 | * CFI Flash | |
21 | */ | |
6168dc6a | 22 | #define CONFIG_SYS_CFI_FLASH_STATUS_POLL /* fix amd flash issue */ |
af54c18d | 23 | #define CONFIG_SYS_MAX_FLASH_BANKS_DETECT 1 |
6168dc6a TC |
24 | #define CONFIG_SYS_MAX_FLASH_SECT 512 |
25 | ||
96fa1e43 | 26 | /* |
c3c44954 | 27 | * NET options |
96fa1e43 | 28 | */ |
c3c44954 | 29 | #define CONFIG_SYS_RX_ETH_BUFFER 0 |
e07eee39 | 30 | #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN |
96fa1e43 | 31 | |
8cbb0ddd TC |
32 | /* |
33 | * BOOTP options | |
34 | */ | |
35 | #define CONFIG_BOOTP_BOOTFILESIZE | |
8cbb0ddd | 36 | |
8cbb0ddd TC |
37 | /* |
38 | * MEMORY ORGANIZATION | |
7dfb0602 TC |
39 | * -Monitor at top of sdram. |
40 | * -The heap is placed below the monitor | |
41 | * -The stack is placed below the heap (&grows down). | |
8cbb0ddd | 42 | */ |
6168dc6a TC |
43 | #define CONFIG_SYS_SDRAM_BASE 0xD0000000 |
44 | #define CONFIG_SYS_SDRAM_SIZE 0x08000000 | |
8cbb0ddd | 45 | #define CONFIG_MONITOR_IS_IN_RAM |
7ef051ec | 46 | #define CONFIG_SYS_MONITOR_LEN 0x80000 /* Reserve 512k */ |
8cbb0ddd TC |
47 | #define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_SDRAM_BASE + \ |
48 | CONFIG_SYS_SDRAM_SIZE - \ | |
49 | CONFIG_SYS_MONITOR_LEN) | |
8cbb0ddd | 50 | |
2aee06a2 MV |
51 | /* |
52 | * ENVIRONMENT -- Put environment in sector CONFIG_SYS_MONITOR_LEN above | |
53 | * CONFIG_SYS_RESET_ADDR, since we assume the monitor is stored at the | |
54 | * reset address, no? This will keep the environment in user region | |
55 | * of flash. NOTE: the monitor length must be multiple of sector size | |
56 | * (which is common practice). | |
57 | */ | |
2aee06a2 | 58 | |
8cbb0ddd | 59 | |
8cbb0ddd | 60 | #endif /* __CONFIG_H */ |