Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5eec2f02 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Fix initrd support



Initrd/ramdisk support has been never validated.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 4323cd48
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -404,10 +404,11 @@ asmlinkage void __init mmu_init(void)


#if defined(CONFIG_BLK_DEV_INITRD)
#if defined(CONFIG_BLK_DEV_INITRD)
	/* Remove the init RAM disk from the available memory. */
	/* Remove the init RAM disk from the available memory. */
/*	if (initrd_start) {
	if (initrd_start) {
		mem_pieces_remove(&phys_avail, __pa(initrd_start),
		unsigned long size;
				  initrd_end - initrd_start, 1);
		size = initrd_end - initrd_start;
	}*/
		memblock_reserve(virt_to_phys(initrd_start), size);
	}
#endif /* CONFIG_BLK_DEV_INITRD */
#endif /* CONFIG_BLK_DEV_INITRD */


	/* Initialize the MMU hardware */
	/* Initialize the MMU hardware */