blob: 9b4f5fcf1b8e0269f0e2f27d43664da944fa2a11 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Thomas Chou5c0f9822015-11-09 14:45:06 +08002/*
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 Chou5c0f9822015-11-09 14:45:06 +08006 */
7
8#ifndef __CONFIG_H
9#define __CONFIG_H
10
11/*
12 * BOARD/CPU
13 */
Thomas Chou5c0f9822015-11-09 14:45:06 +080014
15/*
16 * SERIAL
17 */
Thomas Chou2f3a5fe2015-11-19 21:48:15 +080018#define CONFIG_SYS_NS16550_MEM32
Thomas Chou5c0f9822015-11-09 14:45:06 +080019
20/*
21 * Flash
22 */
Thomas Chou5c0f9822015-11-09 14:45:06 +080023#define CONFIG_SYS_MAX_FLASH_SECT 1024
Thomas Chou5c0f9822015-11-09 14:45:06 +080024
25/*
Thomas Chou5c0f9822015-11-09 14:45:06 +080026 * BOOTP options
27 */
Thomas Chou5c0f9822015-11-09 14:45:06 +080028
29/*
Thomas Chou5c0f9822015-11-09 14:45:06 +080030 * 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 Chou5c0f9822015-11-09 14:45:06 +080037#define CONFIG_MONITOR_IS_IN_RAM
Marek Vasut7ef051e2015-12-15 03:09:23 +010038#define CONFIG_SYS_MONITOR_LEN 0x80000 /* Reserve 512k */
Thomas Chou5c0f9822015-11-09 14:45:06 +080039
Thomas Chou5c0f9822015-11-09 14:45:06 +080040#endif /* __CONFIG_H */