/external/u-boot/arch/arm/mach-omap2/ |
D | boot-common.c | 34 u32 boot_mode; in save_omap_boot_params() local 43 boot_mode = MMCSD_MODE_UNDEFINED; in save_omap_boot_params() 123 boot_mode = MMCSD_MODE_RAW; in save_omap_boot_params() 135 boot_mode = MMCSD_MODE_FS; in save_omap_boot_params() 138 boot_mode = MMCSD_MODE_RAW; in save_omap_boot_params() 161 boot_mode = *((u32 *)(boot_params + BOOT_MODE_OFFSET)); in save_omap_boot_params() 163 if (boot_mode != MMCSD_MODE_FS && in save_omap_boot_params() 164 boot_mode != MMCSD_MODE_RAW) in save_omap_boot_params() 166 boot_mode = MMCSD_MODE_EMMCBOOT; in save_omap_boot_params() 168 boot_mode = MMCSD_MODE_UNDEFINED; in save_omap_boot_params() [all …]
|
/external/u-boot/arch/arm/mach-imx/ |
D | cmd_bmode.c | 12 static const struct boot_mode *modes[2]; 14 static const struct boot_mode *search_modes(char *arg) in search_modes() 19 const struct boot_mode *p = modes[i]; in search_modes() 37 const struct boot_mode *p = modes[i]; in create_usage() 60 const struct boot_mode *p; in do_boot_mode() 85 void add_board_boot_modes(const struct boot_mode *p) in add_board_boot_modes()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_kernel.c | 50 BootMode boot_mode; in LoadKernel() local 76 boot_mode = kBootRecovery; in LoadKernel() 78 boot_mode = kBootDev; in LoadKernel() 81 boot_mode = kBootNormal; in LoadKernel() 92 shcall->boot_mode = boot_mode; in LoadKernel() 106 if (kBootRecovery == boot_mode) { in LoadKernel() 200 if (kBootDev != boot_mode) in LoadKernel() 245 if (kBootRecovery != boot_mode) { in LoadKernel() 266 if (kBootDev != boot_mode && !key_block_valid) { in LoadKernel() 299 if (key_block_valid && kBootRecovery != boot_mode) { in LoadKernel() [all …]
|
/external/u-boot/arch/arm/mach-stm32mp/ |
D | cpu.c | 162 u32 boot_mode; in update_bootmode() local 174 boot_mode = in update_bootmode() 182 boot_mode << TAMP_BOOT_MODE_SHIFT); in update_bootmode() 198 u32 boot_mode; in arch_cpu_init() local 211 boot_mode = get_bootmode(); in arch_cpu_init() 213 if ((boot_mode & TAMP_BOOT_DEVICE_MASK) == BOOT_SERIAL_UART) in arch_cpu_init() 363 u32 boot_mode = in setup_boot_mode() local 365 unsigned int instance = (boot_mode & TAMP_BOOT_INSTANCE_MASK) - 1; in setup_boot_mode() 371 __func__, boot_ctx, boot_mode, instance, forced_mode); in setup_boot_mode() 372 switch (boot_mode & TAMP_BOOT_DEVICE_MASK) { in setup_boot_mode() [all …]
|
D | spl.c | 15 u32 boot_mode; in spl_boot_device() local 17 boot_mode = get_bootmode(); in spl_boot_device() 19 switch (boot_mode) { in spl_boot_device()
|
/external/u-boot/arch/arm/mach-rockchip/ |
D | boot_mode.c | 62 int boot_mode = readl(reg); in setup_boot_mode() local 66 boot_mode = readl(reg); in setup_boot_mode() 67 debug("%s: boot mode 0x%08x\n", __func__, boot_mode); in setup_boot_mode() 72 switch (boot_mode) { in setup_boot_mode()
|
D | bootrom.c | 47 u32 boot_mode; in check_back_to_brom_dnl_flag() local 50 boot_mode = readl(CONFIG_ROCKCHIP_BOOT_MODE_REG); in check_back_to_brom_dnl_flag() 51 if (boot_mode == BOOT_BROM_DOWNLOAD) { in check_back_to_brom_dnl_flag()
|
/external/arm-trusted-firmware/plat/hisilicon/hikey/ |
D | hikey_bl1_setup.c | 114 int32_t boot_mode; in bl1_plat_get_next_image_id() local 117 boot_mode = mmio_read_32(ONCHIPROM_PARAM_BASE); in bl1_plat_get_next_image_id() 118 switch (boot_mode) { in bl1_plat_get_next_image_id() 124 WARN("Invalid boot mode is found:%d\n", boot_mode); in bl1_plat_get_next_image_id()
|
/external/u-boot/arch/x86/lib/fsp1/ |
D | fsp_common.c | 25 int boot_mode = BOOT_FULL_CONFIG; in arch_fsp_init() local 57 boot_mode = BOOT_ON_S3_RESUME; in arch_fsp_init() 65 fsp_init(stack, boot_mode, nvs); in arch_fsp_init()
|
D | fsp_support.c | 83 void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf) in fsp_init() argument 104 config_data.common.boot_mode = boot_mode; in fsp_init()
|
/external/u-boot/arch/arm/include/asm/mach-imx/ |
D | boot_mode.h | 43 struct boot_mode { struct 48 void add_board_boot_modes(const struct boot_mode *p); argument 50 extern const struct boot_mode soc_boot_modes[];
|
/external/u-boot/arch/x86/cpu/quark/ |
D | dram.c | 57 mrc_params->boot_mode = prepare_mrc_cache(mrc_params); in mrc_configure_params() 58 if (mrc_params->boot_mode) in mrc_configure_params() 59 mrc_params->boot_mode = BM_COLD; in mrc_configure_params() 61 mrc_params->boot_mode = BM_FAST; in mrc_configure_params() 63 mrc_params->boot_mode = BM_COLD; in mrc_configure_params()
|
D | mrc.c | 160 if (mrc_params->boot_mode != BM_COLD) { in mrc_mem_init() 163 mrc_params->boot_mode = BM_COLD; in mrc_mem_init() 170 if (mrc_params->boot_mode & init[i].boot_path) { in mrc_mem_init()
|
/external/u-boot/arch/x86/cpu/ivybridge/ |
D | cpu.c | 130 enum pei_boot_mode_t boot_mode = PEI_BOOT_NONE; in checkcpu() local 139 boot_mode = PEI_BOOT_SOFT_RESET; in checkcpu() 176 if (boot_mode == PEI_BOOT_RESUME) { in checkcpu() 181 gd->arch.pei_boot_mode = boot_mode; in checkcpu()
|
D | fsp_configs.c | 37 rt_buf->boot_mode = config->common.boot_mode; in fsp_update_configs()
|
D | sdram.c | 484 pei_data->boot_mode = gd->arch.pei_boot_mode; in dram_init() 493 pei_data->boot_mode == PEI_BOOT_RESUME) { in dram_init() 500 if (pei_data->boot_mode == PEI_BOOT_RESUME && !pei_data->mrc_input) { in dram_init() 540 if (pei_data->boot_mode != PEI_BOOT_RESUME) { in dram_init()
|
/external/u-boot/arch/arm/mach-mvebu/armada8k/ |
D | cpu.c | 137 unsigned int boot_mode; in mmc_get_env_dev() local 140 boot_mode = (reg >> BOOT_MODE_OFFSET) & BOOT_MODE_MASK; in mmc_get_env_dev() 142 switch (boot_mode) { in mmc_get_env_dev()
|
/external/u-boot/arch/x86/cpu/queensbay/ |
D | fsp_configs.c | 15 rt_buf->common.boot_mode = config->common.boot_mode; in fsp_update_configs()
|
/external/u-boot/arch/x86/include/asm/fsp1/ |
D | fsp_api.h | 19 u32 boot_mode; member 43 u32 boot_mode; /* Current system boot mode */ member
|
D | fsp_support.h | 47 void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf);
|
/external/u-boot/arch/arm/mach-zynqmp/ |
D | spl.c | 74 &crlapb_base->boot_mode); in spl_boot_device() 77 reg = readl(&crlapb_base->boot_mode); in spl_boot_device()
|
/external/u-boot/common/spl/ |
D | spl_mmc.c | 326 u32 boot_mode; in spl_mmc_load() local 346 boot_mode = spl_boot_mode(bootdev->boot_device); in spl_mmc_load() 348 switch (boot_mode) { in spl_mmc_load()
|
/external/u-boot/board/st/stm32mp1/ |
D | stm32mp1.c | 126 enum forced_boot_mode boot_mode = BOOT_NORMAL; in board_key_check() local 141 boot_mode = BOOT_FASTBOOT; in board_key_check() 155 boot_mode = BOOT_STM32PROG; in board_key_check() 161 if (boot_mode != BOOT_NORMAL) { in board_key_check() 165 boot_mode); in board_key_check()
|
/external/u-boot/arch/x86/cpu/braswell/ |
D | fsp_configs.c | 54 rt_buf->common.boot_mode = config->common.boot_mode; in fsp_update_configs()
|
/external/u-boot/board/logicpd/imx6/ |
D | imx6logic.c | 159 u32 boot_mode = imx6_src_get_boot_mode() & IMX6_BMODE_MASK; in board_boot_order() local 168 switch (boot_mode >> IMX6_BMODE_SHIFT) { in board_boot_order()
|