Convert CONFIG_SPLASH_SCREEN et al to Kconfig
[platform/kernel/u-boot.git] / include / configs / sipeed-maix.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
4  */
5
6 #ifndef CONFIGS_SIPEED_MAIX_H
7 #define CONFIGS_SIPEED_MAIX_H
8
9 #include <linux/sizes.h>
10
11 #define CONFIG_SYS_LOAD_ADDR 0x80000000
12 /* Start just below the second bank so we don't clobber it during reloc */
13 #define CONFIG_SYS_INIT_SP_ADDR 0x803FFFFF
14 #define CONFIG_SYS_MALLOC_LEN SZ_128K
15 #define CONFIG_SYS_CACHELINE_SIZE 64
16
17 #define CONFIG_SYS_SDRAM_BASE 0x80000000
18 /* Don't relocate into AI ram since it isn't set up yet */
19 #define CONFIG_SYS_SDRAM_SIZE (SZ_4M + SZ_2M)
20
21 /* For early init */
22 #define K210_SYSCTL_BASE 0x50440000
23
24 #ifndef CONFIG_EXTRA_ENV_SETTINGS
25 #define CONFIG_EXTRA_ENV_SETTINGS \
26         "loadaddr=0x80060000\0" \
27         "fdt_addr_r=0x80028000\0" \
28         "scriptaddr=0x80020000\0" \
29         "kernel_addr_r=0x80060000\0" \
30         "fdtfile=kendryte/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0"
31 #endif
32
33 #endif /* CONFIGS_SIPEED_MAIX_H */