Home
last modified time | relevance | path

Searched refs:reg_boot_mode (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Dspl_boot_mode.c43 uint32_t reg_boot_mode; in rockchip_get_boot_mode() local
52 reg_boot_mode = readl((void *)CONFIG_ROCKCHIP_BOOT_MODE_REG); in rockchip_get_boot_mode()
53 if (reg_boot_mode == BOOT_LOADER) { in rockchip_get_boot_mode()
56 } else if (reg_boot_mode == BOOT_DFU) { in rockchip_get_boot_mode()
59 } else if (reg_boot_mode == BOOT_FASTBOOT) { in rockchip_get_boot_mode()
66 switch (reg_boot_mode) { in rockchip_get_boot_mode()
H A Dboot_mode.c90 uint32_t reg_boot_mode; in rockchip_get_boot_mode() local
160 reg_boot_mode = readl((void *)CONFIG_ROCKCHIP_BOOT_MODE_REG); in rockchip_get_boot_mode()
161 if (reg_boot_mode == BOOT_LOADER) { in rockchip_get_boot_mode()
165 } else if (reg_boot_mode == BOOT_DFU) { in rockchip_get_boot_mode()
169 } else if (reg_boot_mode == BOOT_FASTBOOT) { in rockchip_get_boot_mode()
179 switch (reg_boot_mode) { in rockchip_get_boot_mode()
H A Dspl.c355 uint32_t reg_boot_mode; in spl_next_stage() local
368 reg_boot_mode = readl((void *)CONFIG_ROCKCHIP_BOOT_MODE_REG); in spl_next_stage()
369 switch (reg_boot_mode) { in spl_next_stage()
378 if ((reg_boot_mode & REBOOT_FLAG) != REBOOT_FLAG) in spl_next_stage()