Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Thomas Chou | 7ffbbf5 | 2010-04-21 08:40:59 +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 | 7ffbbf5 | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __CONFIG_H |
| 9 | #define __CONFIG_H |
| 10 | |
| 11 | /* |
| 12 | * BOARD/CPU |
| 13 | */ |
Thomas Chou | 7ffbbf5 | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 14 | |
| 15 | /* |
| 16 | * SERIAL |
| 17 | */ |
Thomas Chou | 7ffbbf5 | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 18 | |
| 19 | /* |
Thomas Chou | 4d7d92f | 2015-10-23 14:55:36 +0800 | [diff] [blame] | 20 | * CFI Flash |
| 21 | */ |
Thomas Chou | 4d7d92f | 2015-10-23 14:55:36 +0800 | [diff] [blame] | 22 | |
| 23 | /* |
Thomas Chou | 7ffbbf5 | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 24 | * MEMORY ORGANIZATION |
Thomas Chou | fe06c18 | 2012-04-23 10:55:02 +0800 | [diff] [blame] | 25 | * -Monitor at top of sdram. |
| 26 | * -The heap is placed below the monitor |
| 27 | * -The stack is placed below the heap (&grows down). |
Thomas Chou | 7ffbbf5 | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 28 | */ |
Thomas Chou | 4d7d92f | 2015-10-23 14:55:36 +0800 | [diff] [blame] | 29 | #define CONFIG_SYS_SDRAM_BASE 0xD0000000 |
| 30 | #define CONFIG_SYS_SDRAM_SIZE 0x08000000 |
Thomas Chou | 7ffbbf5 | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 31 | #define CONFIG_MONITOR_IS_IN_RAM |
Marek Vasut | 307c715 | 2015-12-15 03:09:23 +0100 | [diff] [blame] | 32 | #define CONFIG_SYS_MONITOR_LEN 0x80000 /* Reserve 512k */ |
Thomas Chou | 7ffbbf5 | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 33 | |
Thomas Chou | 7ffbbf5 | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 34 | #endif /* __CONFIG_H */ |