1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * (C) Copyright 2018 Michal Simek <monstr@monstr.eu>
4  */
5 
6 #ifndef __CONFIG_BITMAIN_ANTMINER_S9_H
7 #define __CONFIG_BITMAIN_ANTMINER_S9_H
8 
9 #define CONFIG_SYS_SDRAM_BASE	0x00000000
10 #define CONFIG_SYS_SDRAM_SIZE	0x40000000
11 
12 #define CONFIG_ENV_SIZE		0x20000
13 #define CONFIG_ENV_OFFSET	0x300000
14 
15 #define CONFIG_BOOTP_SERVERIP
16 
17 #define CONFIG_EXTRA_ENV_SETTINGS \
18 	"autoload=no\0" \
19 	"pxefile_addr_r=0x2000000\0" \
20 	"scriptaddr=0x3000000\0" \
21 	"kernel_addr_r=0x2000000\0" \
22 	"fdt_high=0xefff000\0" \
23 	"initrd_high=0xefff000\0" \
24 	"devnum=0\0" \
25 	"wdstop=mw f8005000 ABC000\0" \
26 	BOOTENV
27 
28 #include <configs/zynq-common.h>
29 
30 #endif /* __CONFIG_BITMAIN_ANTMINER_S9_H */
31