/openbmc/u-boot/arch/arm/mach-k3/ |
H A D | am6_init.c | 99 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> in spl_boot_mode() local 104 bootmode == BOOT_DEVICE_MMC1) in spl_boot_mode() 149 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 152 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI) in __get_primary_bootmedia() 153 bootmode = BOOT_DEVICE_SPI; in __get_primary_bootmedia() 155 if (bootmode == BOOT_DEVICE_MMC2) { in __get_primary_bootmedia() 159 bootmode = BOOT_DEVICE_MMC1; in __get_primary_bootmedia() 160 } else if (bootmode == BOOT_DEVICE_MMC1) { in __get_primary_bootmedia() 164 bootmode = BOOT_DEVICE_MMC2; in __get_primary_bootmedia() 167 return bootmode; in __get_primary_bootmedia()
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
H A D | spl_boot.c | 56 uint8_t bootmode = 0; in mxs_get_bootmode_index() local 72 bootmode |= (gpio_get_value(MX23_PAD_LCD_D00__GPIO_1_0) ? 1 : 0) << 0; in mxs_get_bootmode_index() 73 bootmode |= (gpio_get_value(MX23_PAD_LCD_D01__GPIO_1_1) ? 1 : 0) << 1; in mxs_get_bootmode_index() 74 bootmode |= (gpio_get_value(MX23_PAD_LCD_D02__GPIO_1_2) ? 1 : 0) << 2; in mxs_get_bootmode_index() 75 bootmode |= (gpio_get_value(MX23_PAD_LCD_D03__GPIO_1_3) ? 1 : 0) << 3; in mxs_get_bootmode_index() 76 bootmode |= (gpio_get_value(MX23_PAD_LCD_D05__GPIO_1_5) ? 1 : 0) << 5; in mxs_get_bootmode_index() 82 bootmode = __raw_readl(GLOBAL_BOOT_MODE_ADDR); in mxs_get_bootmode_index() 86 masked = bootmode & mxs_boot_modes[i].boot_mask; in mxs_get_bootmode_index() 123 uint8_t bootmode = mxs_get_bootmode_index(); in mxs_common_spl_init() local 138 data->boot_mode_idx = bootmode; in mxs_common_spl_init()
|
/openbmc/u-boot/board/Barix/ipam390/ |
H A D | ipam390.c | 302 int bootmode = 0; in spl_start_uboot() local 316 bootmode = 1; in spl_start_uboot() 317 if (!bootmode) { in spl_start_uboot() 320 bootmode = 1; in spl_start_uboot() 322 if (!bootmode) in spl_start_uboot() 324 if (!bootmode) in spl_start_uboot() 326 bootmode = 1; in spl_start_uboot() 333 return bootmode; in spl_start_uboot()
|
/openbmc/u-boot/doc/ |
H A D | README.zynq | 36 Zynq has a facility to read the bootmode from the slcr bootmode register 39 All possible bootmode values are defined in Table 6-2:Boot_Mode MIO Pins 42 board_late_init() will read the bootmode values using slcr bootmode register 43 at runtime and assign the modeboot variable to specific bootmode string which 46 SLCR bootmode register Bit[3:0] values 52 bootmode strings at runtime.
|
/openbmc/u-boot/post/ |
H A D | post.c | 74 int bootmode = post_bootmode_get(0); in post_bootmode_init() local 77 if (post_hotkeys_pressed() && !(bootmode & POST_POWERTEST)) in post_bootmode_init() 79 else if (bootmode == 0) in post_bootmode_init() 81 else if (bootmode == POST_POWERON || bootmode == POST_SLOWTEST) in post_bootmode_init() 87 if (bootmode == 0) in post_bootmode_init() 101 int bootmode; in post_bootmode_get() local 106 bootmode = word & 0x7F; in post_bootmode_get() 108 if (last_test && (bootmode & POST_POWERTEST)) in post_bootmode_get() 111 return bootmode; in post_bootmode_get()
|
/openbmc/u-boot/arch/m68k/cpu/mcf5227x/ |
H A D | speed.c | 76 u8 bootmode; in get_clocks() local 82 bootmode = 0; /* Normal Mode */ in get_clocks() 85 bootmode = 3; /* Serial Mode */ in get_clocks() 88 if (bootmode == 0) { in get_clocks() 101 } else if (bootmode == 3) { in get_clocks()
|
/openbmc/u-boot/arch/m68k/cpu/mcf5445x/ |
H A D | speed.c | 145 u8 bootmode; in setup_5445x_clocks() local 165 bootmode = (in_8(cpld) & 0x03); in setup_5445x_clocks() 167 if (bootmode != 3) { in setup_5445x_clocks() 183 bootmode = 3; in setup_5445x_clocks() 185 bootmode = 2; in setup_5445x_clocks() 195 if (bootmode == 0) { in setup_5445x_clocks() 222 } else if (bootmode == 2) { in setup_5445x_clocks() 233 } else if (bootmode == 3) { in setup_5445x_clocks()
|
/openbmc/u-boot/arch/arm/mach-zynqmp/ |
H A D | spl.c | 67 u8 bootmode; in spl_boot_device() local 79 bootmode = reg & BOOT_MODES_MASK; in spl_boot_device() 81 switch (bootmode) { in spl_boot_device() 110 printf("Invalid Boot Mode:0x%x\n", bootmode); in spl_boot_device()
|
H A D | Kconfig | 93 bool "Overwrite SPL bootmode" 96 Overwrite bootmode selected via boot mode pins to tell SPL what should
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | spl_boot.c | 185 unsigned int bootmode = BOOT_MODE_OM; in copy_uboot_to_ram() local 210 bootmode = BOOT_MODE_USB; in copy_uboot_to_ram() 213 if (bootmode == BOOT_MODE_OM) in copy_uboot_to_ram() 214 bootmode = get_boot_mode(); in copy_uboot_to_ram() 216 switch (bootmode) { in copy_uboot_to_ram()
|
/openbmc/u-boot/arch/arm/mach-mediatek/mt7623/ |
H A D | preloader.h | 29 enum bootmode { enum 74 enum bootmode boot_mode;
|
/openbmc/u-boot/board/xilinx/zynqmp/ |
H A D | zynqmp.c | 545 u8 bootmode; in board_late_init() local 575 bootmode = reg & BOOT_MODES_MASK; in board_late_init() 578 switch (bootmode) { in board_late_init() 640 printf("Invalid Boot Mode:0x%x\n", bootmode); in board_late_init()
|
/openbmc/u-boot/board/aristainetos/ |
H A D | aristainetos-v2.c | 652 char bootmode = 0; in board_late_init() local 665 bootmode |= (gpio_get_value(IMX_GPIO_NR(7, 6)) ? 1 : 0) << 0; in board_late_init() 666 bootmode |= (gpio_get_value(IMX_GPIO_NR(7, 7)) ? 1 : 0) << 1; in board_late_init() 667 bootmode |= (gpio_get_value(IMX_GPIO_NR(7, 1)) ? 1 : 0) << 2; in board_late_init() 669 if (bootmode == 7) { in board_late_init()
|
/openbmc/u-boot/board/compulab/cm_t54/ |
H A D | cm_t54.c | 85 u32 bootmode = gd->arch.omap_boot_mode; in mmc_get_env_part() local 92 if (bootmode == BOOT_DEVICE_MMC2) in mmc_get_env_part()
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-phosphor/state/phosphor-state-manager/ |
H A D | host-poweron@.service | 11 ExecStart=/usr/sbin/power-ctrl sled%i boot-from-bootmode
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-mic | 66 of firmware, ramdisk, cmdline and bootmode 127 What: /sys/class/mic/mic<X>/bootmode 132 When read, this sysfs entry provides the current bootmode for
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | Kconfig | 51 This enables the 'bmode' (bootmode) command for forcing
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | control.c | 209 void omap3_ctrl_write_boot_mode(u8 bootmode) in omap3_ctrl_write_boot_mode() argument 213 l = ('B' << 24) | ('M' << 16) | bootmode; in omap3_ctrl_write_boot_mode()
|
H A D | control.h | 521 extern void omap3_ctrl_write_boot_mode(u8 bootmode);
|
/openbmc/u-boot/board/ti/ks2_evm/ |
H A D | README | 179 2. Using BMC terminal set the ARM-UART bootmode and reboot the EVM 180 BMC> bootmode #4
|