Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/
H 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()
56 if (boot_device == BOOT_DEVICE_NAND_I2C) in save_omap_boot_params()
57 boot_device = BOOT_DEVICE_NAND; in save_omap_boot_params()
66 if (boot_device == BOOT_DEVICE_QSPI_4) 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()
77 omap_boot_params->boot_device = BOOT_DEVICE_NAND; 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()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-mvebu/
H A Dspl.c19 u32 boot_device; in get_boot_device() local
27 boot_device = (val & BOOTROM_ERR_MODE_MASK) >> BOOTROM_ERR_MODE_OFFS; in get_boot_device()
28 debug("BOOTROM_REG=0x%08x boot_device=0x%x\n", val, boot_device); in get_boot_device()
29 if (boot_device == BOOTROM_ERR_MODE_UART) in get_boot_device()
36 boot_device = (val & BOOT_DEV_SEL_MASK) >> BOOT_DEV_SEL_OFFS; in get_boot_device()
37 debug("SAR_REG=0x%08x boot_device=0x%x\n", val, boot_device); in get_boot_device()
38 switch (boot_device) { in get_boot_device()
58 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
/OK3568_Linux_fs/u-boot/include/
H A Dspl.h41 u32 boot_device; member
85 u32 spl_boot_mode(const u32 boot_device);
119 int spl_board_ubi_load_image(u32 boot_device);
164 uint boot_device; member
179 uint boot_device; member
204 .boot_device = _boot_device, \
210 .boot_device = _boot_device, \
284 int spl_mmc_find_device(struct mmc **mmcp, u32 boot_device);
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Dspl-boot-order.c148 int boot_device; in board_boot_order() local
185 boot_device = spl_node_to_boot_device(node); in board_boot_order()
186 if (boot_device < 0) { in board_boot_order()
192 spl_boot_list[idx++] = boot_device; in board_boot_order()
H A Dspl.c59 u32 boot_device = BOOT_DEVICE_MMC1; in spl_boot_device() local
69 return boot_device; in spl_boot_device()
72 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
318 atags_set_bootdev_by_spl_bootdevice(spl_image->boot_device); in spl_perform_fixups()
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_mmc.c107 static int spl_mmc_get_device_index(u32 boot_device) argument
109 switch (boot_device) {
124 int spl_mmc_find_device(struct mmc **mmcp, u32 boot_device) argument
128 mmc_dev = spl_mmc_get_device_index(boot_device);
290 err = spl_mmc_find_device(&mmc, bootdev->boot_device);
315 boot_mode = spl_boot_mode(bootdev->boot_device);
H A Dspl.c404 static struct spl_image_loader *spl_ll_find_loader(uint boot_device) in spl_ll_find_loader() argument
413 if (boot_device == entry->boot_device) in spl_ll_find_loader()
426 bootdev.boot_device = loader->boot_device; in spl_load_image()
456 spl_image->boot_device = spl_boot_list[i]; in boot_from_devices()
572 spl_image.boot_device = BOOT_DEVICE_NONE; in board_init_r()
H A Dspl_mtd_blk.c23 static int spl_mtd_get_device_index(u32 boot_device) in spl_mtd_get_device_index() argument
25 switch (boot_device) { in spl_mtd_get_device_index()
111 desc = find_mtd_device(spl_mtd_get_device_index(bootdev->boot_device));
H A Dspl_ubi.c23 switch (bootdev->boot_device) { in spl_ubi_load_image()
75 if (bootdev->boot_device == BOOT_DEVICE_NAND) in spl_ubi_load_image()
H A Dspl_ram.c38 if (bootdev->boot_device == BOOT_DEVICE_DFU)
/OK3568_Linux_fs/u-boot/board/siemens/corvus/
H A Dboard.c121 u32 boot_device; in spl_board_init() local
124 boot_device = spl_boot_device(); in spl_board_init()
125 switch (boot_device) { in spl_board_init()
/OK3568_Linux_fs/u-boot/arch/arm/mach-at91/
H A Dspl.c85 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
87 switch (boot_device) { in spl_boot_mode()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/zynqmp/
H A Dspl.c113 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
115 switch (boot_device) { in spl_boot_mode()
/OK3568_Linux_fs/u-boot/cmd/
H A Dnand.c942 char *boot_device = NULL; in do_nandboot() local
977 boot_device = env_get("bootdevice"); in do_nandboot()
981 boot_device = env_get("bootdevice"); in do_nandboot()
985 boot_device = argv[2]; in do_nandboot()
989 boot_device = argv[2]; in do_nandboot()
1001 if (!boot_device) { in do_nandboot()
1008 idx = simple_strtoul(boot_device, NULL, 16); in do_nandboot()
/OK3568_Linux_fs/u-boot/arch/arm/mach-uniphier/
H A Dmmc-boot-mode.c12 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dspl.c18 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-am33xx/
H A Domap.h41 unsigned char boot_device; member
/OK3568_Linux_fs/u-boot/arch/arm/mach-uniphier/boot-device/
H A Dboot-device.h12 unsigned int boot_device; member
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/mach-imx/
H A Dboot_mode.h12 enum boot_device { enum
/OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/
H A Dspl.c48 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
/OK3568_Linux_fs/u-boot/arch/arm/mach-zynq/
H A Dspl.c72 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx7/
H A Dsoc.c392 enum boot_device get_boot_device(void) in get_boot_device()
397 enum boot_device boot_dev = SD1_BOOT; in get_boot_device()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-omap4/
H A Domap.h134 unsigned char boot_device; member
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dspl.c29 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/
H A Dspl.c99 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument

12