Merge patch series "upl: Prerequite patches for updated spec"
[u-boot.git] / include / configs / evb_ast2600.h
blobe1cce58fa9331f7cd042ed84f8e01cfbe0861cf2
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Copyright (c) Aspeed Technology Inc.
4 */
6 #ifndef __CONFIG_H
7 #define __CONFIG_H
9 #include <configs/aspeed-common.h>
11 #define CFG_SYS_UBOOT_BASE CONFIG_TEXT_BASE
13 /* Misc */
14 #define STR_HELPER(s) #s
15 #define STR(s) STR_HELPER(s)
17 #define CFG_EXTRA_ENV_SETTINGS \
18 "loadaddr=" STR(CONFIG_SYS_LOAD_ADDR) "\0" \
19 "bootspi=fdt addr 20100000 && fdt header get fitsize totalsize && " \
20 "cp.b 20100000 ${loadaddr} ${fitsize} && bootm; " \
21 "echo Error loading kernel FIT image\0" \
24 #endif /* __CONFIG_H */