Searched refs:bootmode (Results 1 - 24 of 24) sorted by relevance

/u-boot/board/engicam/stm32mp1/
H A Dstm32mp1.c54 u32 bootmode = get_bootmode(); local
59 switch (bootmode & TAMP_BOOT_DEVICE_MASK) {
89 u32 bootmode = get_bootmode(); local
91 switch (bootmode & TAMP_BOOT_DEVICE_MASK) {
103 u32 bootmode = get_bootmode(); local
105 return dev_part[(bootmode & TAMP_BOOT_INSTANCE_MASK) - 1];
110 u32 bootmode = get_bootmode(); local
112 return (bootmode & TAMP_BOOT_INSTANCE_MASK) - 1;
/u-boot/arch/arm/mach-k3/am62x/
H A Dboot.c46 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> local
51 switch (bootmode) {
85 return bootmode;
91 u32 bootmode = *(u32 *)(K3_BOOT_PARAM_TABLE_INDEX_OCRAM); local
94 if (bootmode == K3_PRIMARY_BOOTMODE)
99 debug("%s: devstat = 0x%x bootmedia = 0x%x bootmode = %d\n",
100 __func__, devstat, bootmedia, bootmode);
/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_boot.c59 uint8_t bootmode = 0; local
64 /* Setup IOMUX of bootmode pads to GPIO */
67 /* Setup bootmode pins as GPIO input */
74 /* Read bootmode pads */
75 bootmode |= (gpio_get_value(MX23_PAD_LCD_D00__GPIO_1_0) ? 1 : 0) << 0;
76 bootmode |= (gpio_get_value(MX23_PAD_LCD_D01__GPIO_1_1) ? 1 : 0) << 1;
77 bootmode |= (gpio_get_value(MX23_PAD_LCD_D02__GPIO_1_2) ? 1 : 0) << 2;
78 bootmode |= (gpio_get_value(MX23_PAD_LCD_D03__GPIO_1_3) ? 1 : 0) << 3;
79 bootmode |= (gpio_get_value(MX23_PAD_LCD_D05__GPIO_1_5) ? 1 : 0) << 5;
85 bootmode
130 uint8_t bootmode = mxs_get_bootmode_index(); local
[all...]
/u-boot/test/py/tests/
H A Dtest_reset.py14 # Setup env__reset_test to set the bootmode if 'modeboot' u-boot environment
15 # variable is not set. Test will be skipped if bootmode is not set in both
18 'bootmode': 'qspiboot',
21 # This test will be also skipped if the bootmode is detected to JTAG.
33 bootmode = output
37 pytest.skip('bootmode cannot be determined')
38 bootmode = f.get('bootmode', 'jtagboot')
40 if 'jtag' in bootmode:
41 pytest.skip('skipping reset test due to jtag bootmode')
[all...]
H A Dtest_saveenv.py14 # Setup env__saveenv_test to set the bootmode if 'modeboot' u-boot environment
15 # variable is not set. Test will be skipped if bootmode is not set in both
18 'bootmode': 'qspiboot',
21 # This test will be also skipped if the bootmode is detected to JTAG.
37 bootmode = output
41 pytest.skip('bootmode cannot be determined')
42 bootmode = f.get('bootmode', 'jtagboot')
44 if 'jtag' in bootmode:
45 pytest.skip('skipping saveenv test due to jtag bootmode')
[all...]
H A Dtest_zynq_secure.py42 pytest.skip('bootmode cannnot be determined')
45 pytest.skip('bootmode cannnot be determined')
46 bootmode = m.group(1)
47 if bootmode == 'jtag':
48 pytest.skip('skipping due to jtag bootmode')
/u-boot/arch/arm/mach-k3/
H A Dj784s4_init.c261 u32 bootmode = (wkup_devstat & WKUP_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> local
264 bootmode |= (main_devstat & MAIN_DEVSTAT_BOOT_MODE_B_MASK) <<
267 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI ||
268 bootmode == BOOT_DEVICE_XSPI)
269 bootmode = BOOT_DEVICE_SPI;
271 if (bootmode == BOOT_DEVICE_MMC2) {
276 bootmode = BOOT_DEVICE_MMC1;
279 return bootmode;
286 u32 bootmode local
[all...]
H A Dam654_init.c121 * If bootmode is Host bootmode, fixup the dr_mode to host
269 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> local
274 bootmode == BOOT_DEVICE_MMC1)
319 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> local
322 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI)
323 bootmode = BOOT_DEVICE_SPI;
325 if (bootmode == BOOT_DEVICE_MMC2) {
329 bootmode
[all...]
H A Dj721e_init.c343 u32 bootmode = (wkup_devstat & WKUP_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> local
346 bootmode |= (main_devstat & MAIN_DEVSTAT_BOOT_MODE_B_MASK) <<
349 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI ||
350 bootmode == BOOT_DEVICE_XSPI)
351 bootmode = BOOT_DEVICE_SPI;
353 if (bootmode == BOOT_DEVICE_MMC2) {
358 bootmode = BOOT_DEVICE_MMC1;
361 return bootmode;
368 u32 bootmode local
[all...]
H A Dj721s2_init.c343 u32 bootmode = (wkup_devstat & WKUP_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> local
346 bootmode |= (main_devstat & MAIN_DEVSTAT_BOOT_MODE_B_MASK) <<
349 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI ||
350 bootmode == BOOT_DEVICE_XSPI)
351 bootmode = BOOT_DEVICE_SPI;
353 if (bootmode == BOOT_DEVICE_MMC2) {
358 bootmode = BOOT_DEVICE_MMC1;
361 return bootmode;
H A Dam62p5_init.c167 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> local
172 switch (bootmode) {
223 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> local
228 switch (bootmode) {
265 return bootmode;
H A Dam62a7_init.c213 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> local
218 switch (bootmode) {
255 return bootmode;
H A Dam625_init.c288 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> local
293 switch (bootmode) {
H A Dam642_init.c327 u32 bootmode = (main_devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> local
333 switch (bootmode) {
370 return bootmode;
/u-boot/arch/arm/mach-zynqmp/
H A Dspl.c90 u8 bootmode; local
103 bootmode = reg & BOOT_MODES_MASK;
105 switch (bootmode) {
130 printf("Invalid Boot Mode:0x%x\n", bootmode);
/u-boot/board/xilinx/versal-net/
H A Dboard.c184 u8 bootmode; local
192 bootmode = reg & BOOT_MODES_MASK;
194 return bootmode;
199 u8 bootmode; local
208 bootmode = versal_net_get_bootmode();
211 switch (bootmode) {
286 printf("Invalid Boot Mode:0x%x\n", bootmode);
378 u8 bootmode = versal_net_get_bootmode(); local
383 switch (bootmode) {
/u-boot/board/xilinx/versal/
H A Dboard.c116 u8 bootmode; local
124 bootmode = reg & BOOT_MODES_MASK;
126 return bootmode;
131 u8 bootmode; local
140 bootmode = versal_get_bootmode();
143 switch (bootmode) {
212 printf("Invalid Boot Mode:0x%x\n", bootmode);
297 u32 bootmode = versal_get_bootmode(); local
302 switch (bootmode) {
/u-boot/arch/arm/mach-mediatek/mt7623/
H A Dpreloader.h29 enum bootmode { enum
74 enum bootmode boot_mode;
/u-boot/post/
H A Dpost.c80 int bootmode = post_bootmode_get(0); local
83 if (post_hotkeys_pressed() && !(bootmode & POST_POWERTEST))
85 else if (bootmode == 0)
87 else if (bootmode == POST_POWERON || bootmode == POST_SLOWTEST)
93 if (bootmode == 0)
107 int bootmode; local
112 bootmode = word & 0x7F;
114 if (last_test && (bootmode & POST_POWERTEST))
117 return bootmode;
[all...]
/u-boot/board/xilinx/zynqmp/
H A Dzynqmp.c293 u8 bootmode; local
307 bootmode = reg & BOOT_MODES_MASK;
309 return bootmode;
393 u8 bootmode; local
402 bootmode = zynqmp_get_bootmode();
405 switch (bootmode) {
476 printf("Invalid Boot Mode:0x%x\n", bootmode);
594 u32 bootmode = zynqmp_get_bootmode(); local
599 switch (bootmode) {
/u-boot/arch/arm/mach-exynos/
H A Dspl_boot.c219 unsigned int bootmode = BOOT_MODE_OM; local
244 bootmode = BOOT_MODE_USB;
247 if (bootmode == BOOT_MODE_OM)
248 bootmode = get_boot_mode();
250 switch (bootmode) {
/u-boot/board/xilinx/zynq/
H A Dboard.c139 u32 bootmode = zynq_slcr_get_boot_mode() & ZYNQ_BM_MASK; local
144 switch (bootmode) {
/u-boot/board/aristainetos/
H A Daristainetos.c269 char bootmode = 0; local
316 env_set("bootmode", "1");
317 printf("SD bootmode jumper set!\n");
319 env_set("bootmode", "0");
328 bootmode |= (dm_gpio_get_value(desc) ? 1 : 0) << 0;
331 bootmode |= (dm_gpio_get_value(desc) ? 1 : 0) << 1;
334 bootmode |= (dm_gpio_get_value(desc) ? 1 : 0) << 2;
336 if (bootmode == 7) {
/u-boot/board/st/stm32mp1/
H A Dstm32mp1.c747 u32 bootmode = get_bootmode(); local
752 switch (bootmode & TAMP_BOOT_DEVICE_MASK) {
782 u32 bootmode = get_bootmode(); local
784 switch (bootmode & TAMP_BOOT_DEVICE_MASK) {

Completed in 287 milliseconds