Home
last modified time | relevance | path

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

12

/external/u-boot/arch/arm/mach-omap2/
Dboot-common.c34 u32 boot_device; in save_omap_boot_params() local
43 boot_device = omap_boot_params->boot_device; in save_omap_boot_params()
55 if (boot_device == BOOT_DEVICE_NAND_I2C) in save_omap_boot_params()
56 boot_device = BOOT_DEVICE_NAND; in save_omap_boot_params()
65 if (boot_device == BOOT_DEVICE_QSPI_4) in save_omap_boot_params()
66 boot_device = BOOT_DEVICE_SPI; in save_omap_boot_params()
75 if (boot_device == 0x05) { in save_omap_boot_params()
76 omap_boot_params->boot_device = BOOT_DEVICE_NAND; in save_omap_boot_params()
77 boot_device = BOOT_DEVICE_NAND; in save_omap_boot_params()
79 if (boot_device == 0x08) { in save_omap_boot_params()
[all …]
/external/u-boot/arch/arm/mach-mvebu/
Dspl.c18 u32 boot_device; in get_boot_device() local
26 boot_device = (val & BOOTROM_ERR_MODE_MASK) >> BOOTROM_ERR_MODE_OFFS; in get_boot_device()
27 debug("BOOTROM_REG=0x%08x boot_device=0x%x\n", val, boot_device); in get_boot_device()
34 if (boot_device) in get_boot_device()
36 if (boot_device == BOOTROM_ERR_MODE_UART) in get_boot_device()
44 boot_device = (val & BOOT_DEV_SEL_MASK) >> BOOT_DEV_SEL_OFFS; in get_boot_device()
45 debug("SAR_REG=0x%08x boot_device=0x%x\n", val, boot_device); in get_boot_device()
46 switch (boot_device) { in get_boot_device()
/external/u-boot/include/
Dspl.h83 u32 spl_boot_mode(const u32 boot_device);
84 int spl_boot_partition(const u32 boot_device);
117 int spl_board_ubi_load_image(u32 boot_device);
162 uint boot_device; member
177 uint boot_device; member
202 .boot_device = _boot_device, \
208 .boot_device = _boot_device, \
Davb_verify.h44 AvbOps *avb_ops_alloc(int boot_device);
/external/u-boot/common/spl/
Dspl_mmc.c97 static int spl_mmc_get_device_index(u32 boot_device) in spl_mmc_get_device_index() argument
99 switch (boot_device) { in spl_mmc_get_device_index()
114 static int spl_mmc_find_device(struct mmc **mmcp, u32 boot_device) in spl_mmc_find_device() argument
121 mmc_dev = spl_mmc_get_device_index(boot_device); in spl_mmc_find_device()
281 u32 __weak spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
294 int spl_boot_partition(const u32 boot_device) in spl_boot_partition() argument
308 err = spl_mmc_find_device(&mmc, bootdev->boot_device); in spl_mmc_load_image()
320 boot_mode = spl_boot_mode(bootdev->boot_device); in spl_mmc_load_image()
355 err = spl_boot_partition(bootdev->boot_device); in spl_mmc_load_image()
Dspl.c397 static struct spl_image_loader *spl_ll_find_loader(uint boot_device) in spl_ll_find_loader() argument
406 if (boot_device == entry->boot_device) in spl_ll_find_loader()
419 bootdev.boot_device = loader->boot_device; in spl_load_image()
Dspl_ubi.c22 switch (bootdev->boot_device) { in spl_ubi_load_image()
74 if (bootdev->boot_device == BOOT_DEVICE_NAND) in spl_ubi_load_image()
Dspl_ram.c39 if (bootdev->boot_device == BOOT_DEVICE_DFU) in spl_ram_load_image()
/external/u-boot/arch/arm/mach-rockchip/
Dspl-boot-order.c102 int boot_device; in board_boot_order() local
139 boot_device = spl_node_to_boot_device(node); in board_boot_order()
140 if (boot_device < 0) { in board_boot_order()
146 spl_boot_list[idx++] = boot_device; in board_boot_order()
Drk3399-board-spl.c52 u32 boot_device = BOOT_DEVICE_MMC1; in spl_boot_device() local
57 return boot_device; in spl_boot_device()
/external/u-boot/arch/arm/mach-stm32mp/
Dspl.c30 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
35 int spl_boot_partition(const u32 boot_device) in spl_boot_partition() argument
37 switch (boot_device) { in spl_boot_partition()
/external/u-boot/board/compulab/cl-som-imx7/
Dspl.c189 u32 boot_device = spl_boot_device(); in spl_board_init() local
191 if (boot_device == BOOT_DEVICE_SPI) in spl_board_init()
193 else if (boot_device == BOOT_DEVICE_MMC1) in spl_board_init()
/external/u-boot/board/siemens/corvus/
Dboard.c120 u32 boot_device; in spl_board_init() local
123 boot_device = spl_boot_device(); in spl_board_init()
124 switch (boot_device) { in spl_board_init()
/external/u-boot/cmd/
Dnand.c934 char *boot_device = NULL; in do_nandboot() local
969 boot_device = env_get("bootdevice"); in do_nandboot()
973 boot_device = env_get("bootdevice"); in do_nandboot()
977 boot_device = argv[2]; in do_nandboot()
981 boot_device = argv[2]; in do_nandboot()
993 if (!boot_device) { in do_nandboot()
1000 idx = simple_strtoul(boot_device, NULL, 16); in do_nandboot()
/external/u-boot/arch/arm/mach-imx/
Dspl.c126 enum boot_device boot_device_spl = get_boot_device(); in spl_boot_device()
159 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
Dcpu.c413 enum boot_device get_boot_device(void) in get_boot_device()
418 enum boot_device boot_dev = SD1_BOOT; in get_boot_device()
/external/u-boot/board/eets/pdu001/
Dboard.c72 u32 boot_device(void) in boot_device() function
80 switch (boot_device()) { in env_set_boot_device()
/external/u-boot/arch/arm/include/asm/arch-mx7/
Dsys_proto.h11 enum boot_device get_boot_device(void);
/external/u-boot/arch/arm/include/asm/arch-mx8m/
Dsys_proto.h15 enum boot_device get_boot_device(void);
/external/u-boot/arch/arm/mach-uniphier/
Dmmc-boot-mode.c11 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument
/external/u-boot/arch/arm/include/asm/arch-am33xx/
Domap.h40 unsigned char boot_device; member
/external/u-boot/arch/arm/mach-uniphier/boot-device/
Dboot-device.h11 unsigned int boot_device; member
/external/u-boot/arch/arm/include/asm/mach-imx/
Dboot_mode.h11 enum boot_device { enum
/external/u-boot/arch/arm/mach-stm32mp/include/mach/
Dstm32.h57 enum boot_device { enum
/external/u-boot/arch/arm/include/asm/arch-omap4/
Domap.h133 unsigned char boot_device; member

12