Home
last modified time | relevance | path

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

/arch/blackfin/kernel/
Dsetup.c555 unsigned long mtd_phys = 0; in memory_setup() local
595 mtd_phys = _ramstart; in memory_setup()
596 mtd_size = PAGE_ALIGN(*((unsigned long *)(mtd_phys + 8))); in memory_setup()
599 if (*((unsigned short *)(mtd_phys + 0x438)) == EXT2_SUPER_MAGIC) in memory_setup()
601 PAGE_ALIGN(*((unsigned long *)(mtd_phys + 0x404)) << 10); in memory_setup()
605 if (*((unsigned long *)(mtd_phys)) == CRAMFS_MAGIC) in memory_setup()
606 mtd_size = PAGE_ALIGN(*((unsigned long *)(mtd_phys + 0x4))); in memory_setup()
610 if (((unsigned long *)mtd_phys)[0] == ROMSB_WORD0 in memory_setup()
611 && ((unsigned long *)mtd_phys)[1] == ROMSB_WORD1) { in memory_setup()
613 PAGE_ALIGN(be32_to_cpu(((unsigned long *)mtd_phys)[2])); in memory_setup()