Home
last modified time | relevance | path

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

12

/arch/arm/mach-omap2/
A Dboot-common.c44 u32 boot_mode; in save_omap_boot_params() local
53 boot_mode = MMCSD_MODE_UNDEFINED; in save_omap_boot_params()
116 boot_mode = MMCSD_MODE_RAW; in save_omap_boot_params()
128 boot_mode = MMCSD_MODE_FS; in save_omap_boot_params()
131 boot_mode = MMCSD_MODE_RAW; in save_omap_boot_params()
154 boot_mode = *((u32 *)(boot_params + BOOT_MODE_OFFSET)); in save_omap_boot_params()
156 if (boot_mode != MMCSD_MODE_FS && in save_omap_boot_params()
157 boot_mode != MMCSD_MODE_RAW) in save_omap_boot_params()
159 boot_mode = MMCSD_MODE_EMMCBOOT; in save_omap_boot_params()
161 boot_mode = MMCSD_MODE_UNDEFINED; in save_omap_boot_params()
[all …]
/arch/arm/mach-stm32mp/stm32mp2/
A Dcpu.c60 u32 boot_mode; in mach_cpu_init() local
62 boot_mode = get_bootmode(); in mach_cpu_init()
65 (boot_mode & TAMP_BOOT_DEVICE_MASK) == BOOT_SERIAL_UART) in mach_cpu_init()
133 u32 boot_mode = in setup_boot_mode() local
135 unsigned int instance = (boot_mode & TAMP_BOOT_INSTANCE_MASK) - 1; in setup_boot_mode()
140 __func__, boot_ctx, boot_mode, instance, forced_mode); in setup_boot_mode()
141 switch (boot_mode & TAMP_BOOT_DEVICE_MASK) { in setup_boot_mode()
209 log_err("unexpected boot mode = %x\n", boot_mode); in setup_boot_mode()
/arch/arm/mach-imx/
A Dcmd_bmode.c11 static const struct boot_mode *modes[2];
13 static const struct boot_mode *search_modes(char *arg) in search_modes()
18 const struct boot_mode *p = modes[i]; in search_modes()
36 const struct boot_mode *p = modes[i]; in create_usage()
69 const struct boot_mode *p; in do_boot_mode()
100 void add_board_boot_modes(const struct boot_mode *p) in add_board_boot_modes()
/arch/arm/mach-rockchip/
A Dboot_mode.c89 int boot_mode = readl(reg); in setup_boot_mode() local
93 boot_mode = readl(reg); in setup_boot_mode()
94 debug("%s: boot mode 0x%08x\n", __func__, boot_mode); in setup_boot_mode()
99 switch (boot_mode) { in setup_boot_mode()
A Dbootrom.c48 u32 boot_mode; in check_back_to_brom_dnl_flag() local
51 boot_mode = readl(CONFIG_ROCKCHIP_BOOT_MODE_REG); in check_back_to_brom_dnl_flag()
52 if (boot_mode == BOOT_BROM_DOWNLOAD) { in check_back_to_brom_dnl_flag()
/arch/arm/include/asm/mach-imx/
A Dboot_mode.h46 struct boot_mode { struct
51 void add_board_boot_modes(const struct boot_mode *p); argument
53 extern const struct boot_mode soc_boot_modes[];
/arch/arm/mach-stm32mp/stm32mp1/
A Dcpu.c135 u32 boot_mode; in mach_cpu_init() local
139 boot_mode = get_bootmode(); in mach_cpu_init()
142 (boot_mode & TAMP_BOOT_DEVICE_MASK) == BOOT_SERIAL_UART) in mach_cpu_init()
187 u32 boot_mode = in setup_boot_mode() local
189 unsigned int instance = (boot_mode & TAMP_BOOT_INSTANCE_MASK) - 1; in setup_boot_mode()
194 __func__, boot_ctx, boot_mode, instance, forced_mode); in setup_boot_mode()
195 switch (boot_mode & TAMP_BOOT_DEVICE_MASK) { in setup_boot_mode()
255 log_err("unexpected boot mode = %x\n", boot_mode); in setup_boot_mode()
A Dspl.c26 u32 boot_mode; in spl_boot_device() local
28 boot_mode = get_bootmode(); in spl_boot_device()
30 switch (boot_mode) { in spl_boot_device()
A Dstm32mp13x.c198 u32 boot_mode; in update_bootmode() local
210 boot_mode = in update_bootmode()
218 boot_mode << TAMP_BOOT_MODE_SHIFT); in update_bootmode()
A Dstm32mp15x.c190 u32 boot_mode; in update_bootmode() local
202 boot_mode = in update_bootmode()
210 boot_mode << TAMP_BOOT_MODE_SHIFT); in update_bootmode()
/arch/arm/mach-mvebu/armada8k/
A Dcpu.c98 unsigned int boot_mode; in mmc_get_env_dev() local
101 boot_mode = (reg >> BOOT_MODE_OFFSET) & BOOT_MODE_MASK; in mmc_get_env_dev()
103 switch (boot_mode) { in mmc_get_env_dev()
/arch/x86/lib/fsp1/
A Dfsp_common.c48 int boot_mode = BOOT_FULL_CONFIG; in arch_fsp_init() local
82 boot_mode = BOOT_ON_S3_RESUME; in arch_fsp_init()
90 fsp_init(stack, boot_mode, nvs); in arch_fsp_init()
A Dfsp_support.c83 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()
/arch/x86/cpu/queensbay/
A Dfsp_configs.c14 rt_buf->common.boot_mode = config->common.boot_mode; in fsp_update_configs()
/arch/x86/include/asm/fsp1/
A Dfsp_api.h19 u32 boot_mode; member
43 u32 boot_mode; /* Current system boot mode */ member
A Dfsp_support.h47 void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf);
/arch/x86/cpu/ivybridge/
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()
A Dfsp_configs.c38 rt_buf->boot_mode = config->common.boot_mode; in fsp_update_configs()
/arch/x86/cpu/quark/
A Ddram.c59 mrc_params->boot_mode = prepare_mrc_cache(mrc_params); in mrc_configure_params()
60 if (mrc_params->boot_mode) in mrc_configure_params()
61 mrc_params->boot_mode = BM_COLD; in mrc_configure_params()
63 mrc_params->boot_mode = BM_FAST; in mrc_configure_params()
65 mrc_params->boot_mode = BM_COLD; in mrc_configure_params()
A Dmrc.c159 if (mrc_params->boot_mode != BM_COLD) { in mrc_mem_init()
162 mrc_params->boot_mode = BM_COLD; in mrc_mem_init()
169 if (mrc_params->boot_mode & init[i].boot_path) { in mrc_mem_init()
/arch/arm/mach-zynqmp/
A Dspl.c95 &crlapb_base->boot_mode); in spl_boot_device()
97 reg = readl(&crlapb_base->boot_mode); in spl_boot_device()
/arch/arm/dts/
A Dcn9130-db-dev-info.dtsi29 boot_mode {
30 key = "boot_mode";
/arch/x86/include/asm/arch-ivybridge/fsp/
A Dfsp_configs.h34 u32 boot_mode; member
/arch/mips/mach-mtmips/mt7620/
A Dinit.c19 static const char * const boot_mode[(CHIP_MODE_M >> CHIP_MODE_S) + 1] = { variable
162 bootdev = boot_mode[chipmode]; in print_cpuinfo()
/arch/x86/include/asm/arch-ivybridge/
A Dpei_data.h44 int boot_mode; member

Completed in 64 milliseconds

12