1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2019 Western Digital Corporation or its affiliates.
4 * Copyright (c) 2021 Tianrui Wei
7 * Anup Patel <anup.patel@wdc.com>
8 * Tianrui Wei <tianrui-wei@outlook.com>
11 #ifndef __OPENPITON_RISCV64_CONFIG_H
12 #define __OPENPITON_RISCV64_CONFIG_H
14 #include <linux/sizes.h>
16 /* Environment options */
17 #define CONFIG_SYS_SDRAM_BASE 0x80000000
18 #define CONFIG_SYS_BOOTM_LEN SZ_256M
20 /* ---------------------------------------------------------------------
21 * Board boot configuration
24 #define CONFIG_EXTRA_ENV_SETTINGS \
25 "fdt_addr_r=0x86000000\0" \
26 "kernel_addr_r=0x80200000\0" \
27 "image=boot/Image\0" \
31 #endif/* __CONFIG_H */