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
相关文章推荐
- uboot下init_sequence_f函数之INIT_FUNC_WATCHDOG_RESET
- uboot下init_sequence_f函数之init_func_spi
- uboot下init_sequence_f函数之init_func_i2c
- uboot下init_sequence_f函数之INIT_FUNC_WATCHDOG_INIT
- uboot下init_sequence_f函数之copy_uboot_to_ram
- uboot下init_sequence_f函数之reserve_fdt
- uboot下init_sequence_f函数之display_new_sp
- uboot下init_sequence_f函数之reserve_global_data
- uboot下init_sequence_f函数之reserve_arch
- uboot下init_sequence_f函数之reserve_pram
- uboot下init_sequence_f函数之dram_init
- uboot下init_sequence_f函数之show_dram_config
- uboot下init_sequence_f函数之reserve_mmu
- uboot下init_sequence_f函数之init_post
- uboot下init_sequence_f函数之post_init_f
- uboot下init_sequence_f函数之setup_machine
- uboot下init_sequence_f函数之jump_to_copy
- uboot下init_sequence_f函数之reserve_round_4k
- uboot下init_sequence_f函数之reloc_fdt
- uboot下init_sequence_f函数之reserve_trace