Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2005, Psyent Corporation <www.psyent.com> |
| 4 | * Scott McNutt <smcnutt@psyent.com> |
| 5 | * (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw> |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __CONFIG_H |
| 9 | #define __CONFIG_H |
| 10 | |
| 11 | /* |
| 12 | * BOARD/CPU |
| 13 | */ |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 14 | |
| 15 | /* |
| 16 | * SERIAL |
| 17 | */ |
Thomas Chou | 2f3a5fe | 2015-11-19 21:48:15 +0800 | [diff] [blame] | 18 | #define CONFIG_SYS_NS16550_MEM32 |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 19 | |
| 20 | /* |
| 21 | * Flash |
| 22 | */ |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 23 | #define CONFIG_SYS_MAX_FLASH_SECT 1024 |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 24 | |
| 25 | /* |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 26 | * BOOTP options |
| 27 | */ |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 28 | |
| 29 | /* |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 30 | * MEMORY ORGANIZATION |
| 31 | * -Monitor at top of sdram. |
| 32 | * -The heap is placed below the monitor |
| 33 | * -The stack is placed below the heap (&grows down). |
| 34 | */ |
| 35 | #define CONFIG_SYS_SDRAM_BASE 0xc8000000 |
| 36 | #define CONFIG_SYS_SDRAM_SIZE 0x08000000 |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 37 | #define CONFIG_MONITOR_IS_IN_RAM |
Marek Vasut | 7ef051e | 2015-12-15 03:09:23 +0100 | [diff] [blame] | 38 | #define CONFIG_SYS_MONITOR_LEN 0x80000 /* Reserve 512k */ |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 39 | |
Thomas Chou | 5c0f982 | 2015-11-09 14:45:06 +0800 | [diff] [blame] | 40 | #endif /* __CONFIG_H */ |