Searched refs:mtd_phys (Results 1 – 1 of 1) sorted by relevance
555 unsigned long mtd_phys = 0; in memory_setup() local595 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()