/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | boot-common.c | 35 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 D | cpu.c | 132 u32 boot_mode; in get_bootmode() local 141 boot_mode = in get_bootmode() 149 boot_mode << TAMP_BOOT_MODE_SHIFT); in get_bootmode() 152 boot_mode = (readl(TAMP_BOOT_CONTEXT) & TAMP_BOOT_MODE_MASK) >> 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() 177 if ((boot_mode & TAMP_BOOT_DEVICE_MASK) == BOOT_SERIAL_UART) 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() [all …]
|
H A D | spl.c | 13 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 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()
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A 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()
|
H A 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()
|
/openbmc/u-boot/arch/arm/include/asm/mach-imx/ |
H A 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[];
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | dram.c | 55 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 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()
|
/openbmc/u-boot/arch/x86/cpu/ivybridge/ |
H A D | cpu.c | 129 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 D | fsp_configs.c | 37 rt_buf->boot_mode = config->common.boot_mode; in update_fsp_configs()
|
H A D | sdram.c | 483 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/arm/mach-mvebu/armada8k/ |
H A D | cpu.c | 136 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/linux/drivers/input/touchscreen/ |
H A D | raydium_i2c_ts.c | 137 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() 422 if (ts->boot_mode == RAYDIUM_TS_BLDR || in raydium_i2c_initialize() 423 ts->boot_mode == RAYDIUM_TS_MAIN) { in raydium_i2c_initialize() 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() 729 if (ts->boot_mode == RAYDIUM_TS_BLDR) in raydium_i2c_do_update_firmware() 734 if (ts->boot_mode == RAYDIUM_TS_MAIN) { in raydium_i2c_do_update_firmware() [all …]
|
/openbmc/u-boot/arch/x86/lib/fsp/ |
H A D | fsp_common.c | 112 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 D | fsp_support.c | 99 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 D | fsp_configs.c | 15 rt_buf->common.boot_mode = config->common.boot_mode; in update_fsp_configs()
|
/openbmc/u-boot/arch/x86/include/asm/fsp/ |
H A D | fsp_api.h | 19 u32 boot_mode; member 43 u32 boot_mode; /* Current system boot mode */ member
|
/openbmc/u-boot/arch/arm/mach-zynqmp/ |
H A D | spl.c | 72 &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 D | spl.c | 118 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 D | README-settings-manager.md | 30 /xyz/openbmc_project/control/host0/boot_mode: 35 /xyz/openbmc_project/control/host1/boot_mode:
|
/openbmc/u-boot/common/spl/ |
H A D | spl_mmc.c | 313 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/qemu/hw/misc/ |
H A D | zynq_slcr.c | 201 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 D | fsp_configs.c | 54 rt_buf->common.boot_mode = config->common.boot_mode; in update_fsp_configs()
|
/openbmc/u-boot/arch/x86/include/asm/arch-ivybridge/fsp/ |
H A D | fsp_configs.h | 34 u32 boot_mode; member
|