Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dspl.c51 u32 bootdevice_brom_id = readl(BROM_BOOTSOURCE_ID_ADDR); in board_spl_was_booted_from() local
54 if ((bootdevice_brom_id & BROM_DOWNLOAD_MASK) == BROM_DOWNLOAD_MASK) in board_spl_was_booted_from()
55 bootdevice_brom_id = BROM_BOOTSOURCE_USB; in board_spl_was_booted_from()
57 bootdevice_brom_id = bootdevice_brom_id & BROM_BOOTSOURCE_MASK; in board_spl_was_booted_from()
58 if (bootdevice_brom_id < ARRAY_SIZE(boot_devices)) in board_spl_was_booted_from()
59 bootdevice_ofpath = boot_devices[bootdevice_brom_id]; in board_spl_was_booted_from()
63 __func__, bootdevice_brom_id, bootdevice_ofpath); in board_spl_was_booted_from()
66 __func__, bootdevice_brom_id); in board_spl_was_booted_from()