Home
last modified time | relevance | path

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

/arch/blackfin/kernel/
Dsetup.c558 unsigned long mtd_phys = 0; in memory_setup() local
598 mtd_phys = _ramstart; in memory_setup()
599 mtd_size = PAGE_ALIGN(*((unsigned long *)(mtd_phys + 8))); in memory_setup()
602 if (*((unsigned short *)(mtd_phys + 0x438)) == EXT2_SUPER_MAGIC) in memory_setup()
604 PAGE_ALIGN(*((unsigned long *)(mtd_phys + 0x404)) << 10); in memory_setup()
608 if (*((unsigned long *)(mtd_phys)) == CRAMFS_MAGIC) in memory_setup()
609 mtd_size = PAGE_ALIGN(*((unsigned long *)(mtd_phys + 0x4))); in memory_setup()
613 if (((unsigned long *)mtd_phys)[0] == ROMSB_WORD0 in memory_setup()
614 && ((unsigned long *)mtd_phys)[1] == ROMSB_WORD1) { in memory_setup()
616 PAGE_ALIGN(be32_to_cpu(((unsigned long *)mtd_phys)[2])); in memory_setup()