| /arch/arm/cpu/arm926ejs/mxs/ |
| A D | spl_boot.c | 58 uint8_t bootmode = 0; in mxs_get_bootmode_index() local 74 bootmode |= (gpio_get_value(MX23_PAD_LCD_D00__GPIO_1_0) ? 1 : 0) << 0; in mxs_get_bootmode_index() 75 bootmode |= (gpio_get_value(MX23_PAD_LCD_D01__GPIO_1_1) ? 1 : 0) << 1; in mxs_get_bootmode_index() 76 bootmode |= (gpio_get_value(MX23_PAD_LCD_D02__GPIO_1_2) ? 1 : 0) << 2; in mxs_get_bootmode_index() 77 bootmode |= (gpio_get_value(MX23_PAD_LCD_D03__GPIO_1_3) ? 1 : 0) << 3; in mxs_get_bootmode_index() 78 bootmode |= (gpio_get_value(MX23_PAD_LCD_D05__GPIO_1_5) ? 1 : 0) << 5; in mxs_get_bootmode_index() 84 bootmode = __raw_readl(GLOBAL_BOOT_MODE_ADDR); in mxs_get_bootmode_index() 88 masked = bootmode & mxs_boot_modes[i].boot_mask; in mxs_get_bootmode_index() 129 uint8_t bootmode = mxs_get_bootmode_index(); in mxs_common_spl_init() local 146 data->boot_mode_idx = bootmode; in mxs_common_spl_init()
|
| /arch/arm/mach-k3/am65x/ |
| A D | am654_init.c | 270 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> in spl_mmc_boot_mode() local 275 bootmode == BOOT_DEVICE_MMC1) in spl_mmc_boot_mode() 323 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI) in __get_primary_bootmedia() 324 bootmode = BOOT_DEVICE_SPI; in __get_primary_bootmedia() 326 if (bootmode == BOOT_DEVICE_MMC2) { in __get_primary_bootmedia() 330 bootmode = BOOT_DEVICE_MMC1; in __get_primary_bootmedia() 331 } else if (bootmode == BOOT_DEVICE_MMC1) { in __get_primary_bootmedia() 335 bootmode = BOOT_DEVICE_MMC2; in __get_primary_bootmedia() 336 } else if (bootmode == BOOT_DEVICE_DFU) { in __get_primary_bootmedia() 340 bootmode = BOOT_DEVICE_USB; in __get_primary_bootmedia() [all …]
|
| /arch/arm/mach-k3/am62ax/ |
| A D | boot.c | 46 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 51 switch (bootmode) { in __get_primary_bootmedia() 88 return bootmode; in __get_primary_bootmedia() 94 u32 bootmode = *(u32 *)(K3_BOOT_PARAM_TABLE_INDEX_OCRAM); in get_boot_device() local 97 if (bootmode == K3_PRIMARY_BOOTMODE) in get_boot_device() 103 __func__, devstat, bootmedia, bootmode); in get_boot_device()
|
| A D | am62a7_init.c | 216 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in spl_mmc_boot_mode() local 221 switch (bootmode) { in spl_mmc_boot_mode()
|
| /arch/arm/mach-k3/am64x/ |
| A D | boot.c | 44 u32 bootmode = (main_devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 50 switch (bootmode) { in __get_primary_bootmedia() 87 return bootmode; in __get_primary_bootmedia() 93 u32 bootmode = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX); in get_boot_device() local 96 if (bootmode == K3_PRIMARY_BOOTMODE) in get_boot_device() 102 __func__, devstat, bootmedia, bootmode); in get_boot_device()
|
| /arch/arm/mach-k3/am62x/ |
| A D | boot.c | 46 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 51 switch (bootmode) { in __get_primary_bootmedia() 85 return bootmode; in __get_primary_bootmedia() 91 u32 bootmode = *(u32 *)(K3_BOOT_PARAM_TABLE_INDEX_OCRAM); in get_boot_device() local 94 if (bootmode == K3_PRIMARY_BOOTMODE) in get_boot_device() 100 __func__, devstat, bootmedia, bootmode); in get_boot_device()
|
| A D | am625_init.c | 312 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in spl_mmc_boot_mode() local 317 switch (bootmode) { in spl_mmc_boot_mode()
|
| /arch/arm/mach-k3/j784s4/ |
| A D | j784s4_init.c | 374 u32 bootmode = (wkup_devstat & WKUP_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 377 bootmode |= (main_devstat & MAIN_DEVSTAT_BOOT_MODE_B_MASK) << in __get_primary_bootmedia() 380 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI || in __get_primary_bootmedia() 381 bootmode == BOOT_DEVICE_XSPI) in __get_primary_bootmedia() 382 bootmode = BOOT_DEVICE_SPI; in __get_primary_bootmedia() 384 if (bootmode == BOOT_DEVICE_MMC2) { in __get_primary_bootmedia() 389 bootmode = BOOT_DEVICE_MMC1; in __get_primary_bootmedia() 392 return bootmode; in __get_primary_bootmedia() 399 u32 bootmode = ((wkup_devstat & WKUP_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in spl_spi_boot_bus() local 403 return (bootmode == BOOT_DEVICE_QSPI) ? 1 : 0; in spl_spi_boot_bus()
|
| /arch/arm/mach-k3/j721s2/ |
| A D | j721s2_init.c | 395 u32 bootmode = (wkup_devstat & WKUP_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 398 bootmode |= (main_devstat & MAIN_DEVSTAT_BOOT_MODE_B_MASK) << in __get_primary_bootmedia() 401 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI || in __get_primary_bootmedia() 402 bootmode == BOOT_DEVICE_XSPI) in __get_primary_bootmedia() 403 bootmode = BOOT_DEVICE_SPI; in __get_primary_bootmedia() 405 if (bootmode == BOOT_DEVICE_MMC2) { in __get_primary_bootmedia() 410 bootmode = BOOT_DEVICE_MMC1; in __get_primary_bootmedia() 413 return bootmode; in __get_primary_bootmedia()
|
| /arch/arm/mach-zynqmp/ |
| A D | spl.c | 89 u8 bootmode; in spl_boot_device() local 102 bootmode = reg & BOOT_MODES_MASK; in spl_boot_device() 104 switch (bootmode) { in spl_boot_device() 129 printf("Invalid Boot Mode:0x%x\n", bootmode); in spl_boot_device()
|
| A D | Kconfig | 118 bool "Overwrite SPL bootmode" 121 Overwrite bootmode selected via boot mode pins to tell SPL what should
|
| /arch/arm/mach-k3/j721e/ |
| A D | j721e_init.c | 473 u32 bootmode = (wkup_devstat & WKUP_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 476 bootmode |= (main_devstat & MAIN_DEVSTAT_BOOT_MODE_B_MASK) << in __get_primary_bootmedia() 479 if (bootmode == BOOT_DEVICE_OSPI || bootmode == BOOT_DEVICE_QSPI || in __get_primary_bootmedia() 480 bootmode == BOOT_DEVICE_XSPI) in __get_primary_bootmedia() 481 bootmode = BOOT_DEVICE_SPI; in __get_primary_bootmedia() 483 if (bootmode == BOOT_DEVICE_MMC2) { in __get_primary_bootmedia() 488 bootmode = BOOT_DEVICE_MMC1; in __get_primary_bootmedia() 491 return bootmode; in __get_primary_bootmedia() 498 u32 bootmode = ((wkup_devstat & WKUP_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in spl_spi_boot_bus() local 502 return (bootmode == BOOT_DEVICE_QSPI) ? 1 : 0; in spl_spi_boot_bus()
|
| /arch/arm/mach-k3/j722s/ |
| A D | j722s_init.c | 249 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 254 switch (bootmode) { in __get_primary_bootmedia() 293 return bootmode; in __get_primary_bootmedia() 314 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in spl_mmc_boot_mode() local 319 switch (bootmode) { in spl_mmc_boot_mode()
|
| /arch/arm/mach-k3/am62px/ |
| A D | am62p5_init.c | 262 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in spl_mmc_boot_mode() local 267 switch (bootmode) { in spl_mmc_boot_mode() 323 u32 bootmode = (devstat & MAIN_DEVSTAT_PRIMARY_BOOTMODE_MASK) >> in __get_primary_bootmedia() local 328 switch (bootmode) { in __get_primary_bootmedia() 365 return bootmode; in __get_primary_bootmedia()
|
| /arch/arm/mach-exynos/ |
| A D | spl_boot.c | 218 unsigned int bootmode = BOOT_MODE_OM; in copy_uboot_to_ram() local 243 bootmode = BOOT_MODE_USB; in copy_uboot_to_ram() 246 if (bootmode == BOOT_MODE_OM) in copy_uboot_to_ram() 247 bootmode = get_boot_mode(); in copy_uboot_to_ram() 249 switch (bootmode) { in copy_uboot_to_ram()
|
| /arch/arm/mach-mediatek/mt7623/ |
| A D | preloader.h | 29 enum bootmode { enum 74 enum bootmode boot_mode;
|
| /arch/arm/mach-imx/ |
| A D | Kconfig | 79 This enables the 'bmode' (bootmode) command for forcing
|