uboot下init_sequence_f函数之init_func_ram

来源:互联网 发布:中国航空制造业知乎 编辑:程序博客网 时间:2024/06/06 02:46
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

0 0