xref: /rk3399_rockchip-uboot/include/configs/evb_rv1126.h (revision 548715c7d5ed761875cc95bcb03b9b4519687db6)
1 /*
2  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6 
7 #ifndef __EVB_RV1126_H
8 #define __EVB_RV1126_H
9 
10 #include <configs/rv1126_common.h>
11 
12 #define CONFIG_SUPPORT_EMMC_RPMB
13 
14 #define CONFIG_SYS_MMC_ENV_DEV 0
15 
16 #define ROCKCHIP_DEVICE_SETTINGS \
17 			"stdout=serial,vidconsole\0" \
18 			"stderr=serial,vidconsole\0"
19 #undef CONFIG_CONSOLE_SCROLL_LINES
20 #define CONFIG_CONSOLE_SCROLL_LINES            10
21 
22 #ifndef CONFIG_SPL_BUILD
23 #undef CONFIG_BOOTCOMMAND
24 
25 /*
26  * We made a deal: Not allow U-Boot to bring up thunder-boot kernel.
27  *
28  * Because the thunder-boot feature may require special memory layout
29  * or other appointments, U-Boot can't handle all that. Let's go back
30  * to SPL to bring up kernel.
31  *
32  * Note: bootcmd is only called in normal boot sequence, that means
33  * we allow user to boot what they want in U-Boot shell mode.
34  */
35 #ifdef CONFIG_SPL_KERNEL_BOOT
36 #define CONFIG_BOOTCOMMAND "reset"
37 #else
38 #define CONFIG_BOOTCOMMAND RKIMG_BOOTCOMMAND
39 #endif
40 #endif /* !CONFIG_SPL_BUILD */
41 
42 #endif
43