Lines Matching refs:boot_device

35 	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()
81 omap_boot_params->boot_device = BOOT_DEVICE_MMC1; 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()
120 boot_device = omap_sys_boot_device(); in save_omap_boot_params()
123 if ((boot_device >= MMC_BOOT_DEVICES_START) && in save_omap_boot_params()
124 (boot_device <= MMC_BOOT_DEVICES_END)) in save_omap_boot_params()
128 gd->arch.omap_boot_device = boot_device; in save_omap_boot_params()
133 if ((boot_device >= MMC_BOOT_DEVICES_START) && in save_omap_boot_params()
134 (boot_device <= MMC_BOOT_DEVICES_END)) { in save_omap_boot_params()
135 switch (boot_device) { in save_omap_boot_params()
150 if ((boot_device == omap_boot_params->boot_device) && in save_omap_boot_params()
151 (boot_device >= MMC_BOOT_DEVICES_START) && in save_omap_boot_params()
152 (boot_device <= MMC_BOOT_DEVICES_END)) { in save_omap_boot_params()
192 u32 spl_boot_mode(const u32 boot_device) in spl_boot_mode() argument