Home
last modified time | relevance | path

Searched refs:boot_device (Results 1 – 25 of 58) sorted by relevance

123

/u-boot/arch/arm/mach-omap2/
A Dboot-common.c35 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 Dspl.c22 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 Dspl.h200 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 Dspl.c68 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 Dpuma-rk3399.c53 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 Dspl-boot-order.c113 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 Dspl.c53 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 Dspl_mmc.c119 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 Dspl_ubi.c23 switch (bootdev->boot_device) { in spl_ubi_load_image()
81 if (bootdev->boot_device == BOOT_DEVICE_NAND) in spl_ubi_load_image()
A Dspl.c506 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 Drk3399.c173 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 Dspl.c56 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 Dkp_imx6q_tpc_spl.c192 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 Dspl.c26 __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 Dspl.c191 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 Dsys_proto.h11 enum boot_device get_boot_device(void);
/u-boot/arch/arm/include/asm/arch-mx7ulp/
A Dsys_proto.h20 enum boot_device get_boot_device(void);
/u-boot/arch/arm/include/asm/arch-imx8m/
A Dsys_proto.h15 enum boot_device get_boot_device(void);
/u-boot/arch/arm/mach-uniphier/
A Dmmc-boot-mode.c10 u32 spl_mmc_boot_mode(const u32 boot_device) in spl_mmc_boot_mode() argument
/u-boot/board/siemens/corvus/
A Dboard.c123 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 Domap.h40 unsigned char boot_device; member
/u-boot/arch/arm/include/asm/arch-imx8/
A Dsys_proto.h26 enum boot_device get_boot_device(void);
/u-boot/arch/arm/mach-uniphier/boot-device/
A Dboot-device.h11 unsigned int boot_device; member
/u-boot/arch/arm/mach-k3/
A Dsysfw-loader.c268 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 Dboot_mode.h13 enum boot_device { enum

Completed in 18 milliseconds

123