1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
6 #ifndef CONFIGS_SIPEED_MAIX_H
7 #define CONFIGS_SIPEED_MAIX_H
9 #include <linux/sizes.h>
11 /* Start just below the second bank so we don't clobber it during reloc */
12 #define CONFIG_SYS_INIT_SP_ADDR 0x803FFFFF
14 #define CONFIG_SYS_SDRAM_BASE 0x80000000
15 #define CONFIG_SYS_SDRAM_SIZE SZ_8M
17 #ifndef CONFIG_EXTRA_ENV_SETTINGS
18 #define CONFIG_EXTRA_ENV_SETTINGS \
19 "loadaddr=0x80060000\0" \
20 "fdt_addr_r=0x80400000\0" \
21 "scriptaddr=0x80020000\0" \
22 "kernel_addr_r=0x80060000\0" \
23 "fdtfile=k210/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
24 "k210_bootcmd=load mmc 0:1 $loadaddr /uImage && " \
25 "load mmc 0:1 $fdt_addr_r /k210.dtb && " \
26 "bootm $loadaddr - $fdt_addr_r\0"
29 #endif /* CONFIGS_SIPEED_MAIX_H */