Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Dboot_mode.c87 static int boot_mode[] = /* static */ in rockchip_get_boot_mode() local
142 boot_mode[PM] = -EINVAL; in rockchip_get_boot_mode()
147 if (boot_mode[PH] != -EINVAL) in rockchip_get_boot_mode()
148 return boot_mode[PH]; in rockchip_get_boot_mode()
149 else if (boot_mode[PM] != -EINVAL) in rockchip_get_boot_mode()
150 return boot_mode[PM]; in rockchip_get_boot_mode()
151 else if (boot_mode[PL] != -EINVAL) in rockchip_get_boot_mode()
152 return boot_mode[PL]; in rockchip_get_boot_mode()
163 boot_mode[PH] = BOOT_MODE_LOADER; in rockchip_get_boot_mode()
167 boot_mode[PH] = BOOT_MODE_DFU; in rockchip_get_boot_mode()
[all …]
H A Dspl_boot_mode.c44 int boot_mode; in rockchip_get_boot_mode() local
55 boot_mode = BOOT_MODE_LOADER; in rockchip_get_boot_mode()
58 boot_mode = BOOT_MODE_DFU; in rockchip_get_boot_mode()
61 boot_mode = BOOT_MODE_BOOTLOADER; in rockchip_get_boot_mode()
64 boot_mode = BOOT_MODE_RECOVERY; in rockchip_get_boot_mode()
69 boot_mode = BOOT_MODE_NORMAL; in rockchip_get_boot_mode()
73 boot_mode = BOOT_MODE_RECOVERY; in rockchip_get_boot_mode()
77 boot_mode = BOOT_MODE_UMS; in rockchip_get_boot_mode()
81 boot_mode = BOOT_MODE_CHARGING; in rockchip_get_boot_mode()
85 boot_mode = BOOT_MODE_PANIC; in rockchip_get_boot_mode()
[all …]
H A Dboot_mode.su
H A Dbootrom.c50 u32 boot_mode, boot_id; in check_back_to_brom_dnl_flag() local
53 boot_mode = readl(CONFIG_ROCKCHIP_BOOT_MODE_REG); in check_back_to_brom_dnl_flag()
57 else if (boot_mode == BOOT_BROM_DOWNLOAD) in check_back_to_brom_dnl_flag()
H A D.boot_mode.o.cmd
H A Dspl.c391 u32 boot_mode; in spl_kernel_partition() local
417 boot_mode = readl((void *)CONFIG_ROCKCHIP_BOOT_MODE_REG); in spl_kernel_partition()
419 return (boot_mode == BOOT_RECOVERY) ? PART_RECOVERY : PART_BOOT; in spl_kernel_partition()
/OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/
H A Dboot-common.c36 u32 boot_mode; in save_omap_boot_params() local
45 boot_mode = MMCSD_MODE_UNDEFINED; in save_omap_boot_params()
125 boot_mode = MMCSD_MODE_RAW; in save_omap_boot_params()
137 boot_mode = MMCSD_MODE_FS; in save_omap_boot_params()
140 boot_mode = MMCSD_MODE_RAW; in save_omap_boot_params()
163 boot_mode = *((u32 *)(boot_params + BOOT_MODE_OFFSET)); in save_omap_boot_params()
165 if (boot_mode != MMCSD_MODE_FS && in save_omap_boot_params()
166 boot_mode != MMCSD_MODE_RAW) in save_omap_boot_params()
168 boot_mode = MMCSD_MODE_EMMCBOOT; in save_omap_boot_params()
170 boot_mode = MMCSD_MODE_UNDEFINED; in save_omap_boot_params()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/
H A Dcmd_bmode.c13 static const struct boot_mode *modes[2];
15 static const struct boot_mode *search_modes(char *arg) in search_modes()
20 const struct boot_mode *p = modes[i]; in search_modes()
38 const struct boot_mode *p = modes[i]; in create_usage()
61 const struct boot_mode *p; in do_boot_mode()
86 void add_board_boot_modes(const struct boot_mode *p) in add_board_boot_modes()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Draydium_i2c_ts.c135 enum raydium_boot_mode boot_mode; member
359 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_check_fw_status()
361 ts->boot_mode = RAYDIUM_TS_MAIN; in raydium_i2c_check_fw_status()
384 if (ts->boot_mode == RAYDIUM_TS_BLDR || in raydium_i2c_initialize()
385 ts->boot_mode == RAYDIUM_TS_MAIN) { in raydium_i2c_initialize()
391 ts->boot_mode = RAYDIUM_TS_BLDR; in raydium_i2c_initialize()
393 if (ts->boot_mode == RAYDIUM_TS_BLDR) { in raydium_i2c_initialize()
682 if (ts->boot_mode == RAYDIUM_TS_MAIN) { in raydium_i2c_do_update_firmware()
694 if (ts->boot_mode == RAYDIUM_TS_BLDR) in raydium_i2c_do_update_firmware()
699 if (ts->boot_mode == RAYDIUM_TS_MAIN) { in raydium_i2c_do_update_firmware()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/mach-imx/
H A Dboot_mode.h33 struct boot_mode { struct
38 void add_board_boot_modes(const struct boot_mode *p); argument
40 extern const struct boot_mode soc_boot_modes[];
/OK3568_Linux_fs/u-boot/arch/x86/cpu/quark/
H A Ddram.c56 mrc_params->boot_mode = prepare_mrc_cache(mrc_params); in mrc_configure_params()
57 if (mrc_params->boot_mode) in mrc_configure_params()
58 mrc_params->boot_mode = BM_COLD; in mrc_configure_params()
60 mrc_params->boot_mode = BM_FAST; in mrc_configure_params()
62 mrc_params->boot_mode = BM_COLD; in mrc_configure_params()
H A Dmrc.c161 if (mrc_params->boot_mode != BM_COLD) { in mrc_mem_init()
164 mrc_params->boot_mode = BM_COLD; in mrc_mem_init()
171 if (mrc_params->boot_mode & init[i].boot_path) { in mrc_mem_init()
/OK3568_Linux_fs/u-boot/arch/x86/cpu/ivybridge/
H A Dcpu.c130 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()
H A Dfsp_configs.c38 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()
/OK3568_Linux_fs/u-boot/arch/x86/lib/fsp/
H A Dfsp_common.c137 int boot_mode = BOOT_FULL_CONFIG; in arch_fsp_init() local
170 boot_mode = BOOT_ON_S3_RESUME; in arch_fsp_init()
178 fsp_init(stack, boot_mode, nvs); in arch_fsp_init()
H A Dfsp_support.c100 void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf) in fsp_init() argument
121 config_data.common.boot_mode = boot_mode; in fsp_init()
/OK3568_Linux_fs/u-boot/arch/x86/cpu/queensbay/
H A Dfsp_configs.c16 rt_buf->common.boot_mode = config->common.boot_mode; in update_fsp_configs()
/OK3568_Linux_fs/kernel/drivers/power/reset/
H A Dreboot-mode.c24 static const char *boot_mode = "coldboot"; variable
29 return scnprintf(buf, PAGE_SIZE, "%s\n", boot_mode); in boot_mode_show()
32 static struct kobj_attribute kobj_boot_mode = __ATTR_RO(boot_mode);
112 boot_mode = info->mode; in boot_mode_parse()
/OK3568_Linux_fs/u-boot/board/st/stm32mp1/
H A Dstm32mp1.c114 enum forced_boot_mode boot_mode = BOOT_NORMAL; in board_key_check() local
129 boot_mode = BOOT_FASTBOOT; in board_key_check()
143 boot_mode = BOOT_STM32PROG; in board_key_check()
149 if (boot_mode != BOOT_NORMAL) { in board_key_check()
153 boot_mode); in board_key_check()
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/fsp/
H A Dfsp_api.h20 u32 boot_mode; member
44 u32 boot_mode; /* Current system boot mode */ member
/OK3568_Linux_fs/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()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/zynqmp/
H A Dspl.c73 &crlapb_base->boot_mode); in spl_boot_device()
76 reg = readl(&crlapb_base->boot_mode); in spl_boot_device()
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_mmc.c286 u32 boot_mode; local
315 boot_mode = spl_boot_mode(bootdev->boot_device);
317 switch (boot_mode) {
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/arch-ivybridge/fsp/
H A Dfsp_configs.h35 u32 boot_mode; member

1234