diff options
author | Tom Rini <trini@konsulko.com> | 2018-10-03 08:09:53 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-10-03 08:09:53 -0400 |
commit | 94228a9188803473206544c8f33649ea72bf1ee1 (patch) | |
tree | 90404ec7c59822c3706f3051e393001a5c53aef5 /include | |
parent | e5145ad0e8c2a21f1db376b01c676907f1500ac6 (diff) | |
parent | 5845f6612372a63877b2175e058a841e1237ffd6 (diff) |
Merge git://git.denx.de/u-boot-riscv
- QEMU support
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/qemu-riscv.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h new file mode 100644 index 0000000000..d279c233b2 --- /dev/null +++ b/include/configs/qemu-riscv.h @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> + */ + +#ifndef __CONFIG_H +#define __CONFIG_H + +#include <linux/sizes.h> + +#define CONFIG_SYS_SDRAM_BASE 0x80000000 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M) + +#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M) + +#define CONFIG_SYS_MALLOC_LEN SZ_8M + +/* Environment options */ +#define CONFIG_ENV_SIZE SZ_4K + +#endif /* __CONFIG_H */ |