| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
| H 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() 125 uint8_t bootmode = mxs_get_bootmode_index(); in mxs_common_spl_init() local 140 data->boot_mode_idx = bootmode; in mxs_common_spl_init()
|
| /OK3568_Linux_fs/u-boot/board/Barix/ipam390/ |
| H A D | ipam390.c | 303 int bootmode = 0; in spl_start_uboot() local 317 bootmode = 1; in spl_start_uboot() 318 if (!bootmode) { in spl_start_uboot() 321 bootmode = 1; in spl_start_uboot() 323 if (!bootmode) in spl_start_uboot() 325 if (!bootmode) in spl_start_uboot() 327 bootmode = 1; in spl_start_uboot() 334 return bootmode; in spl_start_uboot()
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.zynq | 38 Zynq has a facility to read the bootmode from the slcr bootmode register 41 All possible bootmode values are defined in Table 6-2:Boot_Mode MIO Pins 44 board_late_init() will read the bootmode values using slcr bootmode register 45 at runtime and assign the modeboot variable to specific bootmode string which 48 SLCR bootmode register Bit[3:0] values 54 bootmode strings at runtime.
|
| /OK3568_Linux_fs/u-boot/post/ |
| H A D | post.c | 75 int bootmode = post_bootmode_get(0); in post_bootmode_init() local 78 if (post_hotkeys_pressed() && !(bootmode & POST_POWERTEST)) in post_bootmode_init() 80 else if (bootmode == 0) in post_bootmode_init() 82 else if (bootmode == POST_POWERON || bootmode == POST_SLOWTEST) in post_bootmode_init() 88 if (bootmode == 0) in post_bootmode_init() 102 int bootmode; in post_bootmode_get() local 107 bootmode = word & 0x7F; in post_bootmode_get() 109 if (last_test && (bootmode & POST_POWERTEST)) in post_bootmode_get() 112 return bootmode; in post_bootmode_get()
|
| /OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf5445x/ |
| H A D | speed.c | 144 u8 bootmode; in setup_5445x_clocks() local 164 bootmode = (in_8(cpld) & 0x03); in setup_5445x_clocks() 166 if (bootmode != 3) { in setup_5445x_clocks() 182 bootmode = 3; in setup_5445x_clocks() 184 bootmode = 2; in setup_5445x_clocks() 194 if (bootmode == 0) { in setup_5445x_clocks() 221 } else if (bootmode == 2) { in setup_5445x_clocks() 232 } else if (bootmode == 3) { in setup_5445x_clocks()
|
| /OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf5227x/ |
| H A D | speed.c | 77 u8 bootmode; in get_clocks() local 83 bootmode = 0; /* Normal Mode */ in get_clocks() 86 bootmode = 3; /* Serial Mode */ in get_clocks() 89 if (bootmode == 0) { in get_clocks() 102 } else if (bootmode == 3) { in get_clocks()
|
| /OK3568_Linux_fs/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()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/zynqmp/ |
| H A D | spl.c | 68 u8 bootmode; in spl_boot_device() local 80 bootmode = reg & BOOT_MODES_MASK; in spl_boot_device() 82 switch (bootmode) { in spl_boot_device() 106 printf("Invalid Boot Mode:0x%x\n", bootmode); in spl_boot_device()
|
| H A D | Kconfig | 79 bool "Overwrite SPL bootmode" 82 Overwrite bootmode selected via boot mode pins to tell SPL what should
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-exynos/ |
| H A D | spl_boot.c | 186 unsigned int bootmode = BOOT_MODE_OM; in copy_uboot_to_ram() local 211 bootmode = BOOT_MODE_USB; in copy_uboot_to_ram() 214 if (bootmode == BOOT_MODE_OM) in copy_uboot_to_ram() 215 bootmode = get_boot_mode(); in copy_uboot_to_ram() 217 switch (bootmode) { in copy_uboot_to_ram()
|
| /OK3568_Linux_fs/u-boot/board/xilinx/zynqmp/ |
| H A D | zynqmp.c | 257 u8 bootmode; in board_late_init() local 270 bootmode = reg & BOOT_MODES_MASK; in board_late_init() 273 switch (bootmode) { in board_late_init() 312 printf("Invalid Boot Mode:0x%x\n", bootmode); in board_late_init()
|
| /OK3568_Linux_fs/u-boot/board/aristainetos/ |
| H A D | aristainetos-v2.c | 653 char bootmode = 0; in board_late_init() local 666 bootmode |= (gpio_get_value(IMX_GPIO_NR(7, 6)) ? 1 : 0) << 0; in board_late_init() 667 bootmode |= (gpio_get_value(IMX_GPIO_NR(7, 7)) ? 1 : 0) << 1; in board_late_init() 668 bootmode |= (gpio_get_value(IMX_GPIO_NR(7, 1)) ? 1 : 0) << 2; in board_late_init() 670 if (bootmode == 7) { in board_late_init()
|
| /OK3568_Linux_fs/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()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | control.c | 214 void omap3_ctrl_write_boot_mode(u8 bootmode) in omap3_ctrl_write_boot_mode() argument 218 l = ('B' << 24) | ('M' << 16) | bootmode; in omap3_ctrl_write_boot_mode() 264 void omap_ctrl_write_dsp_boot_mode(u8 bootmode) in omap_ctrl_write_dsp_boot_mode() argument 275 omap_ctrl_writel(bootmode, offset); in omap_ctrl_write_dsp_boot_mode()
|
| H A D | control.h | 523 extern void omap3_ctrl_write_boot_mode(u8 bootmode); 525 extern void omap_ctrl_write_dsp_boot_mode(u8 bootmode);
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-imx/ |
| H A D | Kconfig | 42 This enables the 'bmode' (bootmode) command for forcing
|
| /OK3568_Linux_fs/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
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | .boot_rkimg.o.cmd | |