xref: /openbmc/u-boot/include/configs/qemu-riscv.h (revision 5c8fd32b)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
4  */
5 
6 #ifndef __CONFIG_H
7 #define __CONFIG_H
8 
9 #include <linux/sizes.h>
10 
11 #define CONFIG_SYS_SDRAM_BASE		0x80000000
12 #define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + SZ_2M)
13 
14 #define CONFIG_SYS_LOAD_ADDR		(CONFIG_SYS_SDRAM_BASE + SZ_2M)
15 
16 #define CONFIG_SYS_MALLOC_LEN		SZ_8M
17 
18 /* Environment options */
19 #define CONFIG_ENV_SIZE			SZ_4K
20 
21 #endif /* __CONFIG_H */
22