Home
last modified time | relevance | path

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

/u-boot/arch/arm/mach-k3/
A Dj721e_init.c235 static u32 __get_backup_bootmedia(u32 main_devstat) in __get_backup_bootmedia() argument
237 u32 bkup_boot = (main_devstat & MAIN_DEVSTAT_BKUP_BOOTMODE_MASK) >> in __get_backup_bootmedia()
249 u32 port = (main_devstat & MAIN_DEVSTAT_BKUP_MMC_PORT_MASK) >> in __get_backup_bootmedia()
264 static u32 __get_primary_bootmedia(u32 main_devstat, u32 wkup_devstat) in __get_primary_bootmedia() argument
270 bootmode |= (main_devstat & MAIN_DEVSTAT_BOOT_MODE_B_MASK) << in __get_primary_bootmedia()
277 u32 port = (main_devstat & in __get_primary_bootmedia()
290 u32 main_devstat; in spl_boot_device() local
298 main_devstat = readl(CTRLMMR_MAIN_DEVSTAT); in spl_boot_device()
301 return __get_primary_bootmedia(main_devstat, wkup_devstat); in spl_boot_device()
303 return __get_backup_bootmedia(main_devstat); in spl_boot_device()

Completed in 3 milliseconds