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