xref: /rk3399_rockchip-uboot/include/configs/evb_rk3568.h (revision 894688431927c1b73c64860c8aa71463c2593ea2)
1 /*
2  * SPDX-License-Identifier:     GPL-2.0+
3  *
4  * Copyright (c) 2020 Rockchip Electronics Co., Ltd
5  */
6 
7 #ifndef __CONFIGS_RK3568_EVB_H
8 #define __CONFIGS_RK3568_EVB_H
9 
10 #include <configs/rk3568_common.h>
11 
12 #ifndef CONFIG_SPL_BUILD
13 
14 #undef ROCKCHIP_DEVICE_SETTINGS
15 #define ROCKCHIP_DEVICE_SETTINGS \
16 		"stdout=serial,vidconsole\0" \
17 		"stderr=serial,vidconsole\0"
18 
19 #define CONFIG_SYS_MMC_ENV_DEV		0
20 
21 #undef CONFIG_BOOTCOMMAND
22 #define CONFIG_BOOTCOMMAND RKIMG_BOOTCOMMAND
23 
24 #define CONFIG_SET_DFU_ALT_INFO
25 #define DFU_ALT_BOOT_EMMC \
26 	"gpt raw 0x0 0x20000;" \
27 	"loader raw 0x20000 0xE0000;"\
28 	"uboot part uboot;" \
29 	"boot part boot;" \
30 	"rootfs partubi rootfs;" \
31 	"userdata partubi userdata\0"
32 
33 #define DFU_ALT_BOOT_MTD \
34 	"gpt raw 0x0 0x20000;" \
35 	"loader raw 0x20000 0xE0000;"\
36 	"vnvm part vnvm;" \
37 	"uboot part uboot;" \
38 	"boot part boot;" \
39 	"rootfs partubi rootfs;" \
40 	"userdata partubi userdata\0"
41 
42 #endif
43 #endif