commit | bacf9cf88303c0df5794ca45dd9f297740a00913 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Tue Jul 26 21:31:59 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Aug 01 11:14:54 2016 +1000 |
tree | 29b1d7e5cbb80181a450902089e245e9e9fe950d | |
parent | c610ec60ed6354157ea7b0c9c9a7236126ef416b [diff] |
powerpc/mm: Do hash device tree scanning earlier Currently MMU initialisation (early_init_mmu()) consists of a mixture of scanning the device tree, setting MMU feature bits, and then also doing actual initialisation of MMU data structures. We'd like to decouple the setting of the MMU features from the actual setup. So split out the device tree scanning, and associated code, and call it from mmu_init_early_devtree(). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>