Home
last modified time | relevance | path

Searched refs:bootmode (Results 1 – 14 of 14) sorted by relevance

/external/u-boot/arch/arm/cpu/arm926ejs/mxs/
Dspl_boot.c56 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()
/external/u-boot/board/Barix/ipam390/
Dipam390.c302 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()
/external/u-boot/doc/
DREADME.zynq36 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.
/external/u-boot/post/
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()
/external/u-boot/arch/m68k/cpu/mcf5445x/
Dspeed.c143 u8 bootmode; in setup_5445x_clocks() local
163 bootmode = (in_8(cpld) & 0x03); in setup_5445x_clocks()
165 if (bootmode != 3) { in setup_5445x_clocks()
181 bootmode = 3; in setup_5445x_clocks()
183 bootmode = 2; in setup_5445x_clocks()
193 if (bootmode == 0) { in setup_5445x_clocks()
220 } else if (bootmode == 2) { in setup_5445x_clocks()
231 } else if (bootmode == 3) { in setup_5445x_clocks()
/external/u-boot/arch/m68k/cpu/mcf5227x/
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()
/external/u-boot/arch/arm/cpu/armv8/zynqmp/
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()
DKconfig93 bool "Overwrite SPL bootmode"
96 Overwrite bootmode selected via boot mode pins to tell SPL what should
/external/u-boot/arch/arm/mach-exynos/
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()
/external/u-boot/board/xilinx/zynqmp/
Dzynqmp.c497 u8 bootmode; in board_late_init() local
519 bootmode = reg & BOOT_MODES_MASK; in board_late_init()
522 switch (bootmode) { in board_late_init()
580 printf("Invalid Boot Mode:0x%x\n", bootmode); in board_late_init()
/external/u-boot/board/aristainetos/
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()
/external/u-boot/board/compulab/cm_t54/
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()
/external/u-boot/arch/arm/mach-imx/
DKconfig51 This enables the 'bmode' (bootmode) command for forcing
/external/u-boot/board/ti/ks2_evm/
DREADME179 2. Using BMC terminal set the ARM-UART bootmode and reboot the EVM
180 BMC> bootmode #4