Home
last modified time | relevance | path

Searched refs:boot_mode (Results 1 – 25 of 77) sorted by relevance

1234

/openbmc/u-boot/arch/arm/mach-omap2/
H A Dboot-common.c35 u32 boot_mode; in save_omap_boot_params() local
44 boot_mode = MMCSD_MODE_UNDEFINED; in save_omap_boot_params()
124 boot_mode = MMCSD_MODE_RAW; in save_omap_boot_params()
136 boot_mode = MMCSD_MODE_FS; in save_omap_boot_params()
139 boot_mode = MMCSD_MODE_RAW; in save_omap_boot_params()
162 boot_mode = *((u32 *)(boot_params + BOOT_MODE_OFFSET)); in save_omap_boot_params()
164 if (boot_mode != MMCSD_MODE_FS && in save_omap_boot_params()
165 boot_mode != MMCSD_MODE_RAW) in save_omap_boot_params()
167 boot_mode = MMCSD_MODE_EMMCBOOT; in save_omap_boot_params()
169 boot_mode = MMCSD_MODE_UNDEFINED; in save_omap_boot_params()
[all …]
/openbmc/u-boot/arch/arm/mach-stm32mp/
H A Dcpu.c132 u32 boot_mode; in get_bootmode() local
141 boot_mode = in get_bootmode()
149 boot_mode << TAMP_BOOT_MODE_SHIFT); in get_bootmode()
155 return boot_mode; in get_bootmode()
163 u32 boot_mode; in arch_cpu_init() local
175 boot_mode = get_bootmode(); in arch_cpu_init()
247 u32 boot_mode = in setup_boot_mode() local
249 int instance = (boot_mode & TAMP_BOOT_INSTANCE_MASK) - 1; in setup_boot_mode()
252 __func__, boot_ctx, boot_mode, instance); in setup_boot_mode()
254 switch (boot_mode & TAMP_BOOT_DEVICE_MASK) { in setup_boot_mode()
[all …]
H A Dspl.c13 u32 boot_mode; in spl_boot_device() local
15 boot_mode = (readl(TAMP_BOOT_CONTEXT) & TAMP_BOOT_MODE_MASK) >> in spl_boot_device()
18 switch (boot_mode) { in spl_boot_device()
/openbmc/u-boot/arch/arm/mach-imx/
H A Dcmd_bmode.c12 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()
/openbmc/u-boot/arch/arm/mach-rockchip/
H A Dboot_mode.c62 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()
H A Dbootrom.c47 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()
/openbmc/u-boot/arch/arm/include/asm/mach-imx/
H A Dboot_mode.h43 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[];
/openbmc/u-boot/arch/x86/cpu/quark/
H A Ddram.c55 mrc_params->boot_mode = prepare_mrc_cache(mrc_params); in mrc_configure_params()
56 if (mrc_params->boot_mode) in mrc_configure_params()
57 mrc_params->boot_mode = BM_COLD; in mrc_configure_params()
59 mrc_params->boot_mode = BM_FAST; in mrc_configure_params()
61 mrc_params->boot_mode = BM_COLD; in mrc_configure_params()
H A Dmrc.c160 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()
/openbmc/u-boot/arch/arm/mach-mvebu/armada8k/
H A Dcpu.c136 unsigned int boot_mode; in mmc_get_env_dev() local
139 boot_mode = (reg >> BOOT_MODE_OFFSET) & BOOT_MODE_MASK; in mmc_get_env_dev()
141 switch (boot_mode) { in mmc_get_env_dev()
/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dcpu.c129 enum pei_boot_mode_t boot_mode = PEI_BOOT_NONE; in checkcpu() local
138 boot_mode = PEI_BOOT_SOFT_RESET; in checkcpu()
175 if (boot_mode == PEI_BOOT_RESUME) { in checkcpu()
180 gd->arch.pei_boot_mode = boot_mode; in checkcpu()
H A Dfsp_configs.c37 rt_buf->boot_mode = config->common.boot_mode; in update_fsp_configs()
H A Dsdram.c483 pei_data->boot_mode = gd->arch.pei_boot_mode; in dram_init()
492 pei_data->boot_mode == PEI_BOOT_RESUME) { in dram_init()
499 if (pei_data->boot_mode == PEI_BOOT_RESUME && !pei_data->mrc_input) { in dram_init()
539 if (pei_data->boot_mode != PEI_BOOT_RESUME) { in dram_init()
/openbmc/u-boot/arch/x86/lib/fsp/
H A Dfsp_common.c112 int boot_mode = BOOT_FULL_CONFIG; in arch_fsp_init() local
145 boot_mode = BOOT_ON_S3_RESUME; in arch_fsp_init()
153 fsp_init(stack, boot_mode, nvs); in arch_fsp_init()
H A Dfsp_support.c99 void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf) in fsp_init() argument
120 config_data.common.boot_mode = boot_mode; in fsp_init()
/openbmc/u-boot/arch/x86/cpu/queensbay/
H A Dfsp_configs.c15 rt_buf->common.boot_mode = config->common.boot_mode; in update_fsp_configs()
/openbmc/linux/drivers/input/touchscreen/
H A Draydium_i2c_ts.c137 enum raydium_boot_mode boot_mode; member
397 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_check_fw_status()
399 ts->boot_mode = RAYDIUM_TS_MAIN; in raydium_i2c_check_fw_status()
429 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_initialize()
431 if (ts->boot_mode == RAYDIUM_TS_BLDR) in raydium_i2c_initialize()
717 if (ts->boot_mode == RAYDIUM_TS_MAIN) { in raydium_i2c_do_update_firmware()
840 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_fw_update()
849 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_fw_update()
853 ts->boot_mode = RAYDIUM_TS_MAIN; in raydium_i2c_fw_update()
907 if (ts->boot_mode != RAYDIUM_TS_MAIN) in raydium_i2c_irq()
[all …]
/openbmc/u-boot/arch/x86/include/asm/fsp/
H A Dfsp_api.h19 u32 boot_mode; member
43 u32 boot_mode; /* Current system boot mode */ member
/openbmc/u-boot/arch/arm/mach-zynqmp/
H A Dspl.c72 &crlapb_base->boot_mode); in spl_boot_device()
75 reg = readl(&crlapb_base->boot_mode); in spl_boot_device()
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/
H A Dspl.c118 int boot_mode = aspeed_bootmode(); in spl_boot_from_uart_wdt_disable() local
121 if (boot_mode == AST_BOOTMODE_UART) { in spl_boot_from_uart_wdt_disable()
/openbmc/phosphor-settingsd/
H A DREADME-settings-manager.md30 /xyz/openbmc_project/control/host0/boot_mode:
35 /xyz/openbmc_project/control/host1/boot_mode:
/openbmc/u-boot/common/spl/
H A Dspl_mmc.c313 u32 boot_mode; in spl_mmc_load() local
333 boot_mode = spl_boot_mode(bootdev->boot_device); in spl_mmc_load()
335 switch (boot_mode) { in spl_mmc_load()
/openbmc/u-boot/arch/x86/include/asm/arch-ivybridge/fsp/
H A Dfsp_configs.h34 u32 boot_mode; member
/openbmc/qemu/hw/misc/
H A Dzynq_slcr.c201 uint8_t boot_mode; member
378 s->regs[R_BOOT_MODE] = s->boot_mode & R_BOOT_MODE_BOOT_MODE_MASK; in zynq_slcr_reset_init()
599 if (s->boot_mode > 0xF) { in zynq_slcr_realize()
600 error_setg(errp, "Invalid boot mode %d specified", s->boot_mode); in zynq_slcr_realize()
627 DEFINE_PROP_UINT8("boot-mode", ZynqSLCRState, boot_mode, 1),
/openbmc/u-boot/arch/x86/cpu/braswell/
H A Dfsp_configs.c54 rt_buf->common.boot_mode = config->common.boot_mode; in update_fsp_configs()

1234