| /u-boot/arch/arm/cpu/arm926ejs/mxs/ |
| A D | spl_boot.c | 57 uint8_t bootmode = 0; in mxs_get_bootmode_index() local 73 bootmode |= (gpio_get_value(MX23_PAD_LCD_D00__GPIO_1_0) ? 1 : 0) << 0; in mxs_get_bootmode_index() 74 bootmode |= (gpio_get_value(MX23_PAD_LCD_D01__GPIO_1_1) ? 1 : 0) << 1; in mxs_get_bootmode_index() 75 bootmode |= (gpio_get_value(MX23_PAD_LCD_D02__GPIO_1_2) ? 1 : 0) << 2; in mxs_get_bootmode_index() 76 bootmode |= (gpio_get_value(MX23_PAD_LCD_D03__GPIO_1_3) ? 1 : 0) << 3; in mxs_get_bootmode_index() 77 bootmode |= (gpio_get_value(MX23_PAD_LCD_D05__GPIO_1_5) ? 1 : 0) << 5; in mxs_get_bootmode_index() 83 bootmode = __raw_readl(GLOBAL_BOOT_MODE_ADDR); in mxs_get_bootmode_index() 87 masked = bootmode & mxs_boot_modes[i].boot_mask; in mxs_get_bootmode_index() 124 uint8_t bootmode = mxs_get_bootmode_index(); in mxs_common_spl_init() local 139 data->boot_mode_idx = bootmode; in mxs_common_spl_init()
|
| /u-boot/arch/arm/mach-k3/ |
| A D | am6_init.c | 261 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> in spl_mmc_boot_mode() local 266 bootmode == BOOT_DEVICE_MMC1) in spl_mmc_boot_mode() 314 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI) in __get_primary_bootmedia() 315 bootmode = BOOT_DEVICE_SPI; in __get_primary_bootmedia() 317 if (bootmode == BOOT_DEVICE_MMC2) { in __get_primary_bootmedia() 321 bootmode = BOOT_DEVICE_MMC1; in __get_primary_bootmedia() 322 } else if (bootmode == BOOT_DEVICE_MMC1) { in __get_primary_bootmedia() 326 bootmode = BOOT_DEVICE_MMC2; in __get_primary_bootmedia() 327 } else if (bootmode == BOOT_DEVICE_DFU) { in __get_primary_bootmedia() 331 bootmode = BOOT_DEVICE_USB; in __get_primary_bootmedia() [all …]
|
| A D | j721e_init.c | 267 u32 bootmode = (wkup_devstat & WKUP_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 270 bootmode |= (main_devstat & MAIN_DEVSTAT_BOOT_MODE_B_MASK) << in __get_primary_bootmedia() 273 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI) in __get_primary_bootmedia() 274 bootmode = BOOT_DEVICE_SPI; in __get_primary_bootmedia() 276 if (bootmode == BOOT_DEVICE_MMC2) { in __get_primary_bootmedia() 281 bootmode = BOOT_DEVICE_MMC1; in __get_primary_bootmedia() 284 return bootmode; in __get_primary_bootmedia()
|
| /u-boot/board/xilinx/versal/ |
| A D | board.c | 94 u8 bootmode; in versal_get_bootmode() local 102 bootmode = reg & BOOT_MODES_MASK; in versal_get_bootmode() 104 return bootmode; in versal_get_bootmode() 109 u8 bootmode; in board_late_init() local 126 bootmode = versal_get_bootmode(); in board_late_init() 129 switch (bootmode) { in board_late_init() 190 printf("Invalid Boot Mode:0x%x\n", bootmode); in board_late_init()
|
| /u-boot/arch/arm/mach-zynqmp/ |
| A D | spl.c | 70 u8 bootmode; in spl_boot_device() local 82 bootmode = reg & BOOT_MODES_MASK; in spl_boot_device() 84 switch (bootmode) { in spl_boot_device() 109 printf("Invalid Boot Mode:0x%x\n", bootmode); in spl_boot_device()
|
| A D | Kconfig | 111 bool "Overwrite SPL bootmode" 114 Overwrite bootmode selected via boot mode pins to tell SPL what should
|
| /u-boot/arch/m68k/cpu/mcf5227x/ |
| A D | speed.c | 78 u8 bootmode; in get_clocks() local 84 bootmode = 0; /* Normal Mode */ in get_clocks() 87 bootmode = 3; /* Serial Mode */ in get_clocks() 90 if (bootmode == 0) { in get_clocks() 103 } else if (bootmode == 3) { in get_clocks()
|
| /u-boot/arch/m68k/cpu/mcf5445x/ |
| A D | speed.c | 147 u8 bootmode; in setup_5445x_clocks() local 167 bootmode = (in_8(cpld) & 0x03); in setup_5445x_clocks() 169 if (bootmode != 3) { in setup_5445x_clocks() 185 bootmode = 3; in setup_5445x_clocks() 187 bootmode = 2; in setup_5445x_clocks() 197 if (bootmode == 0) { in setup_5445x_clocks() 224 } else if (bootmode == 2) { in setup_5445x_clocks() 235 } else if (bootmode == 3) { in setup_5445x_clocks()
|
| /u-boot/doc/board/xilinx/ |
| A D | zynq.rst | 42 Zynq has a facility to read the bootmode from the slcr bootmode register 45 All possible bootmode values are defined in Table 6-2:Boot_Mode MIO Pins 48 board_late_init() will read the bootmode values using slcr bootmode register 49 at runtime and assign the modeboot variable to specific bootmode string which 52 SLCR bootmode register Bit[3:0] values 61 bootmode strings at runtime.
|
| /u-boot/post/ |
| A D | post.c | 80 int bootmode = post_bootmode_get(0); in post_bootmode_init() local 83 if (post_hotkeys_pressed() && !(bootmode & POST_POWERTEST)) in post_bootmode_init() 85 else if (bootmode == 0) in post_bootmode_init() 87 else if (bootmode == POST_POWERON || bootmode == POST_SLOWTEST) in post_bootmode_init() 93 if (bootmode == 0) in post_bootmode_init() 107 int bootmode; in post_bootmode_get() local 112 bootmode = word & 0x7F; in post_bootmode_get() 114 if (last_test && (bootmode & POST_POWERTEST)) in post_bootmode_get() 117 return bootmode; in post_bootmode_get()
|
| /u-boot/board/xilinx/zynqmp/ |
| A D | zynqmp.c | 445 u8 bootmode; in zynqmp_get_bootmode() local 456 bootmode = reg & BOOT_MODES_MASK; in zynqmp_get_bootmode() 458 return bootmode; in zynqmp_get_bootmode() 542 u8 bootmode; in board_late_init() local 568 bootmode = zynqmp_get_bootmode(); in board_late_init() 571 switch (bootmode) { in board_late_init() 642 printf("Invalid Boot Mode:0x%x\n", bootmode); in board_late_init() 688 u32 bootmode = zynqmp_get_bootmode(); in env_get_location() local 693 switch (bootmode) { in env_get_location()
|
| /u-boot/arch/arm/mach-exynos/ |
| A D | spl_boot.c | 189 unsigned int bootmode = BOOT_MODE_OM; in copy_uboot_to_ram() local 214 bootmode = BOOT_MODE_USB; in copy_uboot_to_ram() 217 if (bootmode == BOOT_MODE_OM) in copy_uboot_to_ram() 218 bootmode = get_boot_mode(); in copy_uboot_to_ram() 220 switch (bootmode) { in copy_uboot_to_ram()
|
| /u-boot/arch/arm/mach-mediatek/mt7623/ |
| A D | preloader.h | 29 enum bootmode { enum 74 enum bootmode boot_mode;
|
| /u-boot/board/st/stm32mp1/ |
| A D | stm32mp1.c | 799 u32 bootmode = get_bootmode(); in env_get_location() local 804 switch (bootmode & TAMP_BOOT_DEVICE_MASK) { in env_get_location() 834 u32 bootmode = get_bootmode(); in env_ext4_get_intf() local 836 switch (bootmode & TAMP_BOOT_DEVICE_MASK) { in env_ext4_get_intf() 858 u32 bootmode = get_bootmode(); in env_ext4_get_dev_part() local 860 return dev_part[(bootmode & TAMP_BOOT_INSTANCE_MASK) - 1]; in env_ext4_get_dev_part() 865 u32 bootmode; in mmc_get_env_dev() local 870 bootmode = get_bootmode(); in mmc_get_env_dev() 873 return (bootmode & TAMP_BOOT_INSTANCE_MASK) - 1; in mmc_get_env_dev()
|
| /u-boot/board/aristainetos/ |
| A D | aristainetos.c | 269 char bootmode = 0; in aristainetos_bootmode_settings() local 328 bootmode |= (dm_gpio_get_value(desc) ? 1 : 0) << 0; in aristainetos_bootmode_settings() 331 bootmode |= (dm_gpio_get_value(desc) ? 1 : 0) << 1; in aristainetos_bootmode_settings() 334 bootmode |= (dm_gpio_get_value(desc) ? 1 : 0) << 2; in aristainetos_bootmode_settings() 336 if (bootmode == 7) { in aristainetos_bootmode_settings()
|
| /u-boot/arch/arm/mach-imx/ |
| A D | Kconfig | 67 This enables the 'bmode' (bootmode) command for forcing
|
| /u-boot/board/ti/ks2_evm/ |
| A D | README | 179 2. Using BMC terminal set the ARM-UART bootmode and reboot the EVM 180 BMC> bootmode #4
|