/* We come here after U-Boot is initialised and ready to process commands */ voidmain_loop(void) { constchar *s; bootstage_mark_name(BOOTSTAGE_ID_MAIN_LOOP, "main_loop");
cli_init(); s = bootdelay_process(); //获取启动延迟时间
//从FDT中获取命令行参数 if (cli_process_fdt(&s)) //设置了bootsecure执行; //不使用命令行,避免被攻击 cli_secure_boot_cmd(s);