Home
last modified time | relevance | path

Searched full:bootmode (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dnetwork_device_function.hpp39 enum class BootMode{ enum
85 NLOHMANN_JSON_SERIALIZE_ENUM(BootMode, {
86 {BootMode::Invalid, "Invalid"},
87 {BootMode::Disabled, "Disabled"},
88 {BootMode::PXE, "PXE"},
89 {BootMode::iSCSI, "iSCSI"},
90 {BootMode::FibreChannel, "FibreChannel"},
91 {BootMode::FibreChannelOverEthernet, "FibreChannelOverEthernet"},
92 {BootMode::HTTP, "HTTP"},
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_boot.c56 uint8_t bootmode = 0; in mxs_get_bootmode_index() local
61 /* Setup IOMUX of bootmode pads to GPIO */ in mxs_get_bootmode_index()
64 /* Setup bootmode pins as GPIO input */ in mxs_get_bootmode_index()
71 /* Read bootmode pads */ in mxs_get_bootmode_index()
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()
[all …]
/openbmc/u-boot/doc/
H A DREADME.zynq34 4. Bootmode
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/arch/arm/mach-k3/
H A Dam6_init.c99 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/board/Barix/ipam390/
H A Dipam390.c102 /* GP7[14] selects bootmode*/
302 int bootmode = 0; in spl_start_uboot() local
305 * GP7[14] selects bootmode: in spl_start_uboot()
310 * SPL bootmode in spl_start_uboot()
314 ret = gpio_request(CONFIG_IPAM390_GPIO_BOOTMODE , "bootmode"); in spl_start_uboot()
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()
[all …]
/openbmc/u-boot/arch/m68k/cpu/mcf5227x/
H A Dspeed.c76 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 Dspeed.c145 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()
181 /* No external logic to read the bootmode, hard coded from built */ 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 Dspl.c67 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 DKconfig93 bool "Overwrite SPL bootmode"
96 Overwrite bootmode selected via boot mode pins to tell SPL what should
/openbmc/u-boot/post/
H A Dpost.c74 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/arm/mach-mediatek/mt7623/
H A Dpreloader.h29 enum bootmode { enum
74 enum bootmode boot_mode;
/openbmc/phosphor-settingsd/
H A DREADME-settings-manager.md33 BootMode: Mode::Modes::Regular
38 BootMode: Mode::Modes::Safe
H A Dsettings_example.yaml5 BootMode:
16 BootMode:
/openbmc/u-boot/arch/arm/mach-exynos/
H A Dspl_boot.c185 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/openbmc/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/
H A DBootMode-default-setup.override.yml8 BootMode:
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-phosphor/state/phosphor-state-manager/
H A Dhost-poweron@.service11 ExecStart=/usr/sbin/power-ctrl sled%i boot-from-bootmode
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Boot/
H A DMode.interface.yaml6 - name: BootMode
/openbmc/openbmc/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/
H A Dboot_type.override.yml8 BootMode:
/openbmc/openbmc/meta-ibm/recipes-phosphor/settings/
H A Dphosphor-settings-manager_%.bbappend7 SRC_URI:append:p10bmc = " file://BootMode-default-setup.override.yml"
/openbmc/pldm/platform-mc/test/host_effecter_jsons/good/
H A Ddbus_to_terminus_effecter.json17 "property_name": "BootMode",
/openbmc/u-boot/board/xilinx/zynqmp/
H A Dzynqmp.c545 u8 bootmode; in board_late_init() local
575 bootmode = reg & BOOT_MODES_MASK; in board_late_init()
577 puts("Bootmode: "); 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/include/configs/
H A Dsocfpga_vining_fpga.h156 "if test \"${bootmode}\" = \"qspi\" ; then " \
164 "else echo \"Unsupported boot mode: \"${bootmode} ; " \
/openbmc/u-boot/board/compulab/cm_t54/
H A Dcm_t54.c85 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/u-boot/board/aristainetos/
H A Daristainetos-v2.c652 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/arch/arm/mach-imx/
H A DKconfig51 This enables the 'bmode' (bootmode) command for forcing

123