您的位置:首页 > 产品设计 > UI/UE

uboot下init_sequence_f函数之init_func_ram

2017-03-22 08:22 405 查看
init_func_ram:

#if defined(CONFIG_MIPS) || defined(CONFIG_PPC) || defined(CONFIG_M68K)
static int init_func_ram(void)
{
#ifdef CONFIG_BOARD_TYPES
 int board_type = gd->board_type;
#else
 int board_type = 0; /* use dummy arg */
#endif
 gd->ram_size = initdram(board_type);
 if (gd->ram_size > 0)
  return 0;
 puts("*** failed ***\n");
 return 1;
}
#endif
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: