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