uboot下init_sequence_r函数集
来源:互联网 发布:迅雷看看有mac版吗 编辑:程序博客网 时间:2024/06/16 00:07
common/board_r.c/* * Over time we hope to remove these functions with code fragments and * stub funtcions, and instead call the relevant function directly. * * We also hope to remove most of the driver-related init and do it if/when * the driver is later used. * * TODO: perhaps reset the watchdog in the initcall function after each call? */static init_fnc_t init_sequence_r[] = { initr_trace, initr_reloc, /* TODO: could x86/PPC have this also perhaps? */#ifdef CONFIG_ARM initr_caches, /* Note: For Freescale LS2 SoCs, new MMU table is created in DDR. * A temporary mapping of IFC high region is since removed, * so environmental variables in NOR flash is not availble * until board_init() is called below to remap IFC to high * region. */#endif initr_reloc_global_data,#if defined(CONFIG_SYS_INIT_RAM_LOCK) && defined(CONFIG_E500) initr_unlock_ram_in_cache,#endif initr_barrier, initr_malloc, initr_console_record,#ifdef CONFIG_SYS_NONCACHED_MEMORY initr_noncached,#endif bootstage_relocate,#ifdef CONFIG_DM initr_dm,#endif initr_bootstage,#if defined(CONFIG_ARM) || defined(CONFIG_NDS32) board_init, /* Setup chipselects */#endif /* * TODO: printing of the clock inforamtion of the board is now * implemented as part of bdinfo command. Currently only support for * davinci SOC's is added. Remove this check once all the board * implement this. */#ifdef CONFIG_CLOCKS set_cpu_clk_info, /* Setup clock information */#endif#ifdef CONFIG_EFI_LOADER efi_memory_init,#endif stdio_init_tables, initr_serial, initr_announce, INIT_FUNC_WATCHDOG_RESET#ifdef CONFIG_NEEDS_MANUAL_RELOC initr_manual_reloc_cmdtable,#endif#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_MIPS) initr_trap,#endif#ifdef CONFIG_ADDR_MAP initr_addr_map,#endif#if defined(CONFIG_BOARD_EARLY_INIT_R) board_early_init_r,#endif INIT_FUNC_WATCHDOG_RESET#ifdef CONFIG_LOGBUFFER initr_logbuffer,#endif#ifdef CONFIG_POST initr_post_backlog,#endif INIT_FUNC_WATCHDOG_RESET#ifdef CONFIG_SYS_DELAYED_ICACHE initr_icache_enable,#endif#if defined(CONFIG_PCI) && defined(CONFIG_SYS_EARLY_PCI_INIT) /* * Do early PCI configuration _before_ the flash gets initialised, * because PCU ressources are crucial for flash access on some boards. */ initr_pci,#endif#ifdef CONFIG_ARCH_EARLY_INIT_R arch_early_init_r,#endif power_init_board,#ifdef CONFIG_MTD_NOR_FLASH initr_flash,#endif INIT_FUNC_WATCHDOG_RESET#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_X86) || \ defined(CONFIG_SPARC) /* initialize higher level parts of CPU like time base and timers */ cpu_init_r,#endif#ifdef CONFIG_PPC initr_spi,#endif#ifdef CONFIG_CMD_NAND initr_nand,#endif#ifdef CONFIG_CMD_ONENAND initr_onenand,#endif#ifdef CONFIG_GENERIC_MMC initr_mmc,#endif#ifdef CONFIG_HAS_DATAFLASH initr_dataflash,#endif initr_env,#ifdef CONFIG_SYS_BOOTPARAMS_LEN initr_malloc_bootparams,#endif INIT_FUNC_WATCHDOG_RESET initr_secondary_cpu,#if defined(CONFIG_ID_EEPROM) || defined(CONFIG_SYS_I2C_MAC_OFFSET) mac_read_from_eeprom,#endif INIT_FUNC_WATCHDOG_RESET#if defined(CONFIG_PCI) && !defined(CONFIG_SYS_EARLY_PCI_INIT) /* * Do pci configuration */ initr_pci,#endif stdio_add_devices, initr_jumptable,#ifdef CONFIG_API initr_api,#endif console_init_r, /* fully init console as a device */#ifdef CONFIG_DISPLAY_BOARDINFO_LATE show_board_info,#endif#ifdef CONFIG_ARCH_MISC_INIT arch_misc_init, /* miscellaneous arch-dependent init */#endif#ifdef CONFIG_MISC_INIT_R misc_init_r, /* miscellaneous platform-dependent init */#endif INIT_FUNC_WATCHDOG_RESET#ifdef CONFIG_CMD_KGDB initr_kgdb,#endif interrupt_init,#if defined(CONFIG_ARM) || defined(CONFIG_AVR32) initr_enable_interrupts,#endif#if defined(CONFIG_MICROBLAZE) || defined(CONFIG_AVR32) || defined(CONFIG_M68K) timer_init, /* initialize timer */#endif#if defined(CONFIG_LED_STATUS) initr_status_led,#endif /* PPC has a udelay(20) here dating from 2002. Why? */#ifdef CONFIG_CMD_NET initr_ethaddr,#endif#ifdef CONFIG_BOARD_LATE_INIT board_late_init,#endif#if defined(CONFIG_CMD_AMBAPP) ambapp_init_reloc,#if defined(CONFIG_SYS_AMBAPP_PRINT_ON_STARTUP) initr_ambapp_print,#endif#endif#if defined(CONFIG_SCSI) && !defined(CONFIG_DM_SCSI) INIT_FUNC_WATCHDOG_RESET initr_scsi,#endif#ifdef CONFIG_BITBANGMII initr_bbmii,#endif#ifdef CONFIG_CMD_NET INIT_FUNC_WATCHDOG_RESET initr_net,#endif#ifdef CONFIG_POST initr_post,#endif#if defined(CONFIG_CMD_PCMCIA) && !defined(CONFIG_CMD_IDE) initr_pcmcia,#endif#if defined(CONFIG_CMD_IDE) initr_ide,#endif#ifdef CONFIG_LAST_STAGE_INIT INIT_FUNC_WATCHDOG_RESET /* * Some parts can be only initialized if all others (like * Interrupts) are up and running (i.e. the PC-style ISA * keyboard). */ last_stage_init,#endif#ifdef CONFIG_CMD_BEDBUG INIT_FUNC_WATCHDOG_RESET initr_bedbug,#endif#if defined(CONFIG_PRAM) || defined(CONFIG_LOGBUFFER) initr_mem,#endif#ifdef CONFIG_PS2KBD initr_kbd,#endif#if defined(CONFIG_SPARC) prom_init,#endif run_main_loop,};
0 0
- uboot下init_sequence_r函数集
- uboot下函数run_main_loop分析
- Uboot 下board_init_f调用函数集合
- uboot下init_sequence_f函数之init_func_i2c
- uboot下init_sequence_f函数之init_func_spi
- uboot下init_sequence_f函数之announce_dram_init
- uboot下init_sequence_f函数之dram_init
- uboot下init_sequence_f函数之init_func_ram
- uboot下init_sequence_f函数之post_init_f
- uboot下init_sequence_f函数之INIT_FUNC_WATCHDOG_RESET
- uboot下init_sequence_f函数之INIT_FUNC_WATCHDOG_INIT
- uboot下init_sequence_f函数之testdram
- uboot下init_sequence_f函数之init_post
- uboot下init_sequence_f函数之setup_dest_addr
- uboot下init_sequence_f函数之reserve_logbuffer
- uboot下init_sequence_f函数之reserve_pram
- uboot下init_sequence_f函数之reserve_round_4k
- uboot下init_sequence_f函数之reserve_mmu
- 【知识点】大数分解与素数判定 --- 【Miller-rabin算法】【pollard-rho算法】
- VM虚拟机下安装Centos7.0图文教程
- 在浏览器中输入www.baidu.com后执行的全部过程
- 关于HTTP缓存
- C++实现日期类
- uboot下init_sequence_r函数集
- 将标准输入复制到标准输出 APUE-1.5
- 150. Evaluate Reverse Polish Notation
- 提高qml的渲染效率
- selenium学习过程中所遇各种问题及解决
- 换个姿势深入Binder
- HDU4288Coder(线段树+离线查询)
- HDU 2795---Billboard
- OSX mysql 操作