1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) ASPEED Technology Inc.
4  */
5 
6 #ifndef __CONFIG_H
7 #define __CONFIG_H
8 
9 #include <configs/aspeed-common.h>
10 
11 #define CONFIG_SYS_MEMTEST_START	(CONFIG_SYS_SDRAM_BASE + 0x300000)
12 #define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_MEMTEST_START + 0x5000000)
13 
14 #define CONFIG_SYS_UBOOT_BASE		CONFIG_SYS_TEXT_BASE
15 
16 /* Memory Info */
17 #define CONFIG_SYS_LOAD_ADDR		0x83000000
18 
19 /* Environment */
20 #define CONFIG_ENV_SIZE			0x10000
21 
22 #ifdef CONFIG_CMD_NETTEST
23 #define CONFIG_ENV_OFFSET		0x7f0000
24 #else
25 #define CONFIG_ENV_OFFSET		0x60000
26 #endif
27 
28 #define CONFIG_ENV_SECT_SIZE		(4 << 10)
29 
30 #endif	/* __CONFIG_H */
31