sh: Fold fixed-PMB support into dynamic PMB support

The initialisation process differs for CONFIG_PMB and for
CONFIG_PMB_FIXED. For CONFIG_PMB_FIXED we need to register the PMB
entries that were allocated by the bootloader.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Matt Fleming
2009-10-06 21:22:33 +00:00
committed by Paul Mundt
parent ef269b3276
commit 20b5014b3e
5 changed files with 64 additions and 53 deletions

View File

@@ -453,7 +453,7 @@ void __init setup_arch(char **cmdline_p)
paging_init();
#ifdef CONFIG_PMB
#ifdef CONFIG_PMB_ENABLE
pmb_init();
#endif