Home
last modified time | relevance | path

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

/arch/blackfin/kernel/
Dsetup.c467 unsigned long mtd_phys = 0; in memory_setup() local
491 mtd_phys = _ramstart; in memory_setup()
492 mtd_size = PAGE_ALIGN(*((unsigned long *)(mtd_phys + 8))); in memory_setup()
495 if (*((unsigned short *)(mtd_phys + 0x438)) == EXT2_SUPER_MAGIC) in memory_setup()
497 PAGE_ALIGN(*((unsigned long *)(mtd_phys + 0x404)) << 10); in memory_setup()
501 if (*((unsigned long *)(mtd_phys)) == CRAMFS_MAGIC) in memory_setup()
502 mtd_size = PAGE_ALIGN(*((unsigned long *)(mtd_phys + 0x4))); in memory_setup()
506 if (((unsigned long *)mtd_phys)[0] == ROMSB_WORD0 in memory_setup()
507 && ((unsigned long *)mtd_phys)[1] == ROMSB_WORD1) in memory_setup()
509 PAGE_ALIGN(be32_to_cpu(((unsigned long *)mtd_phys)[2])); in memory_setup()