diff options
-rw-r--r-- | arch/powerpc/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/head_8xx.S | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index b387e1ed5177..37ff383393bd 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -600,6 +600,7 @@ config CONSISTENT_START_BOOL | |||
600 | 600 | ||
601 | config CONSISTENT_START | 601 | config CONSISTENT_START |
602 | hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL | 602 | hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL |
603 | default "0xfd000000" if (NOT_COHERENT_CACHE && 8xx) | ||
603 | default "0xff100000" if NOT_COHERENT_CACHE | 604 | default "0xff100000" if NOT_COHERENT_CACHE |
604 | 605 | ||
605 | config CONSISTENT_SIZE_BOOL | 606 | config CONSISTENT_SIZE_BOOL |
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index 96cea8e753c4..9c30938aad52 100644 --- a/arch/powerpc/kernel/head_8xx.S +++ b/arch/powerpc/kernel/head_8xx.S | |||
@@ -727,13 +727,13 @@ initial_mmu: | |||
727 | mtspr SPRN_MD_TWC, r9 | 727 | mtspr SPRN_MD_TWC, r9 |
728 | li r11, MI_BOOTINIT /* Create RPN for address 0 */ | 728 | li r11, MI_BOOTINIT /* Create RPN for address 0 */ |
729 | addis r11, r11, 0x0080 /* Add 8M */ | 729 | addis r11, r11, 0x0080 /* Add 8M */ |
730 | mtspr SPRN_MD_RPN, r8 | 730 | mtspr SPRN_MD_RPN, r11 |
731 | 731 | ||
732 | addis r8, r8, 0x0080 /* Add 8M */ | 732 | addis r8, r8, 0x0080 /* Add 8M */ |
733 | mtspr SPRN_MD_EPN, r8 | 733 | mtspr SPRN_MD_EPN, r8 |
734 | mtspr SPRN_MD_TWC, r9 | 734 | mtspr SPRN_MD_TWC, r9 |
735 | addis r11, r11, 0x0080 /* Add 8M */ | 735 | addis r11, r11, 0x0080 /* Add 8M */ |
736 | mtspr SPRN_MD_RPN, r8 | 736 | mtspr SPRN_MD_RPN, r11 |
737 | #endif | 737 | #endif |
738 | 738 | ||
739 | /* Since the cache is enabled according to the information we | 739 | /* Since the cache is enabled according to the information we |