/u-boot/arch/arm/mach-omap2/ |
A D | boot-common.c | 35 u32 boot_device; in save_omap_boot_params() local 44 boot_device = omap_boot_params->boot_device; in save_omap_boot_params() 57 boot_device = BOOT_DEVICE_NAND; in save_omap_boot_params() 67 boot_device = BOOT_DEVICE_SPI; in save_omap_boot_params() 76 if (boot_device == 0x05) { in save_omap_boot_params() 78 boot_device = BOOT_DEVICE_NAND; in save_omap_boot_params() 80 if (boot_device == 0x08) { in save_omap_boot_params() 82 boot_device = BOOT_DEVICE_MMC1; in save_omap_boot_params() 91 switch (boot_device) { in save_omap_boot_params() 135 switch (boot_device) { in save_omap_boot_params() [all …]
|
/u-boot/arch/arm/mach-mvebu/ |
A D | spl.c | 22 u32 boot_device; in get_boot_device() local 30 boot_device = (val & BOOTROM_ERR_MODE_MASK) >> BOOTROM_ERR_MODE_OFFS; in get_boot_device() 31 debug("BOOTROM_REG=0x%08x boot_device=0x%x\n", val, boot_device); in get_boot_device() 32 if (boot_device == BOOTROM_ERR_MODE_UART) in get_boot_device() 40 boot_device = (val & BOOTROM_ERR_CODE_MASK) >> BOOTROM_ERR_CODE_OFFS; in get_boot_device() 41 if (boot_device) in get_boot_device() 49 boot_device = (val & BOOT_DEV_SEL_MASK) >> BOOT_DEV_SEL_OFFS; in get_boot_device() 50 debug("SAR_REG=0x%08x boot_device=0x%x\n", val, boot_device); in get_boot_device() 51 switch (boot_device) { in get_boot_device()
|
/u-boot/include/ |
A D | spl.h | 200 u32 boot_device; member 337 u32 spl_mmc_boot_mode(const u32 boot_device); 350 int spl_mmc_boot_partition(const u32 boot_device); 391 int spl_board_ubi_load_image(u32 boot_device); 392 int spl_board_boot_device(u32 boot_device); 437 uint boot_device; member 452 uint boot_device; member 477 .boot_device = _boot_device, \ 483 .boot_device = _boot_device, \
|
/u-boot/board/sifive/fu540/ |
A D | spl.c | 68 u32 boot_device = mode_select & MODE_SELECT_MASK; in spl_boot_device() local 70 switch (boot_device) { in spl_boot_device() 77 boot_device); in spl_boot_device()
|
/u-boot/board/theobroma-systems/puma_rk3399/ |
A D | puma-rk3399.c | 53 const char *boot_device = in setup_boottargets() local 57 if (!boot_device) { in setup_boottargets() 62 debug("%s: booted from %s\n", __func__, boot_device); in setup_boottargets() 88 if (!strcmp(boot_device, "/mmc@fe320000")) { in setup_boottargets()
|
/u-boot/arch/arm/mach-rockchip/ |
A D | spl-boot-order.c | 113 int boot_device; in board_boot_order() local 150 boot_device = spl_node_to_boot_device(node); in board_boot_order() 151 if (boot_device < 0) { in board_boot_order() 157 spl_boot_list[idx++] = boot_device; in board_boot_order()
|
A D | spl.c | 53 u32 boot_device = BOOT_DEVICE_MMC1; in spl_boot_device() local 65 return boot_device; in spl_boot_device() 68 u32 spl_mmc_boot_mode(const u32 boot_device) in spl_mmc_boot_mode() argument
|
/u-boot/common/spl/ |
A D | spl_mmc.c | 119 static int spl_mmc_get_device_index(u32 boot_device) in spl_mmc_get_device_index() argument 121 switch (boot_device) { in spl_mmc_get_device_index() 136 static int spl_mmc_find_device(struct mmc **mmcp, u32 boot_device) in spl_mmc_find_device() argument 140 mmc_dev = spl_mmc_get_device_index(boot_device); in spl_mmc_find_device() 303 u32 __weak spl_mmc_boot_mode(const u32 boot_device) in spl_mmc_boot_mode() argument 315 int __weak spl_mmc_boot_partition(const u32 boot_device) in spl_mmc_boot_partition() argument 340 err = spl_mmc_find_device(&mmc, bootdev->boot_device); in spl_mmc_load() 354 boot_mode = spl_mmc_boot_mode(bootdev->boot_device); in spl_mmc_load() 435 spl_mmc_boot_partition(bootdev->boot_device), in spl_mmc_load_image()
|
A D | spl_ubi.c | 23 switch (bootdev->boot_device) { in spl_ubi_load_image() 81 if (bootdev->boot_device == BOOT_DEVICE_NAND) in spl_ubi_load_image()
|
A D | spl.c | 506 static struct spl_image_loader *spl_ll_find_loader(uint boot_device) in spl_ll_find_loader() argument 515 if (boot_device == entry->boot_device) in spl_ll_find_loader() 529 bootdev.boot_device = loader->boot_device; in spl_load_image() 573 spl_image->boot_device = spl_boot_list[i]; in boot_from_devices() 669 spl_image.boot_device = BOOT_DEVICE_NONE; in board_init_r()
|
/u-boot/arch/arm/mach-rockchip/rk3399/ |
A D | rk3399.c | 173 const char *spl_decode_boot_device(u32 boot_device) in spl_decode_boot_device() argument 177 u32 boot_device; in spl_decode_boot_device() member 186 if (spl_boot_devices_tbl[i].boot_device == boot_device) in spl_decode_boot_device() 206 boot_ofpath = spl_decode_boot_device(spl_image->boot_device); in spl_perform_fixups()
|
/u-boot/arch/arm/mach-stm32mp/ |
A D | spl.c | 56 u32 spl_mmc_boot_mode(const u32 boot_device) in spl_mmc_boot_mode() argument 62 int spl_mmc_boot_partition(const u32 boot_device) in spl_mmc_boot_partition() argument 64 switch (boot_device) { in spl_mmc_boot_partition()
|
/u-boot/board/k+p/kp_imx6q_tpc/ |
A D | kp_imx6q_tpc_spl.c | 192 u32 boot_device = spl_boot_device(); in board_boot_order() local 198 if (boot_device == BOOT_DEVICE_MMC1) in board_boot_order() 200 boot_device = BOOT_DEVICE_MMC2; in board_boot_order() 202 spl_boot_list[0] = boot_device; in board_boot_order()
|
/u-boot/arch/arm/mach-imx/ |
A D | spl.c | 26 __weak int spl_board_boot_device(enum boot_device boot_dev_spl) in spl_board_boot_device() 141 enum boot_device boot_device_spl = get_boot_device(); in spl_boot_device() 204 u32 spl_mmc_boot_mode(const u32 boot_device) in spl_mmc_boot_mode() argument 230 switch (boot_device) { in spl_mmc_boot_mode()
|
/u-boot/board/compulab/cl-som-imx7/ |
A D | spl.c | 191 u32 boot_device = spl_boot_device(); in spl_board_init() local 193 if (boot_device == BOOT_DEVICE_SPI) in spl_board_init() 195 else if (boot_device == BOOT_DEVICE_MMC1) in spl_board_init()
|
/u-boot/arch/arm/include/asm/arch-mx7/ |
A D | sys_proto.h | 11 enum boot_device get_boot_device(void);
|
/u-boot/arch/arm/include/asm/arch-mx7ulp/ |
A D | sys_proto.h | 20 enum boot_device get_boot_device(void);
|
/u-boot/arch/arm/include/asm/arch-imx8m/ |
A D | sys_proto.h | 15 enum boot_device get_boot_device(void);
|
/u-boot/arch/arm/mach-uniphier/ |
A D | mmc-boot-mode.c | 10 u32 spl_mmc_boot_mode(const u32 boot_device) in spl_mmc_boot_mode() argument
|
/u-boot/board/siemens/corvus/ |
A D | board.c | 123 u32 boot_device; in spl_board_init() local 126 boot_device = spl_boot_device(); in spl_board_init() 127 switch (boot_device) { in spl_board_init()
|
/u-boot/arch/arm/include/asm/arch-am33xx/ |
A D | omap.h | 40 unsigned char boot_device; member
|
/u-boot/arch/arm/include/asm/arch-imx8/ |
A D | sys_proto.h | 26 enum boot_device get_boot_device(void);
|
/u-boot/arch/arm/mach-uniphier/boot-device/ |
A D | boot-device.h | 11 unsigned int boot_device; member
|
/u-boot/arch/arm/mach-k3/ |
A D | sysfw-loader.c | 268 bootdev.boot_device = spl_boot_device(); in k3_sysfw_loader() 271 switch (bootdev.boot_device) { in k3_sysfw_loader() 337 bootdev.boot_device); in k3_sysfw_loader()
|
/u-boot/arch/arm/include/asm/mach-imx/ |
A D | boot_mode.h | 13 enum boot_device { enum
|