设定按键将uboot启动时停止autouboot

来源:互联网 发布:全29青峰剃刀数据 编辑:程序博客网 时间:2024/06/01 10:50

以下是通过按空格键停止autoboot:

#define CONFIG_AUTOBOOT_KEYED 1

#define CONFIG_AUTOBOOT_PROMPT  \
        "Press SPACE to abort autoboot in %d seconds\n", bootdelay
#undef CONFIG_AUTOBOOT_DELAY_STR
#define CONFIG_AUTOBOOT_STOP_STR " "
0 0
原创粉丝点击