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

Commit bc37324e authored by Maxime Ripard's avatar Maxime Ripard
Browse files

ARM: mmu: Call debug_ll_io_init if no map_io function is specified



More and more sub-architectures are using only the debug_ll_io_init
function as the map_io function. Make the core code call this function
if no function is specified in the machine description to remove some
boilerplate code.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 4adfe484
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1232,6 +1232,8 @@ static void __init devicemaps_init(struct machine_desc *mdesc)
	 */
	if (mdesc->map_io)
		mdesc->map_io();
	else
		debug_ll_io_init();
	fill_pmd_gaps();

	/* Reserve fixed i/o space in VMALLOC region */