|
@@ -810,13 +810,16 @@ initial_mmu:
|
|
mtspr SPRN_MD_TWC, r9
|
|
mtspr SPRN_MD_TWC, r9
|
|
li r11, MI_BOOTINIT /* Create RPN for address 0 */
|
|
li r11, MI_BOOTINIT /* Create RPN for address 0 */
|
|
addis r11, r11, 0x0080 /* Add 8M */
|
|
addis r11, r11, 0x0080 /* Add 8M */
|
|
- mtspr SPRN_MD_RPN, r8
|
|
|
|
|
|
+ mtspr SPRN_MD_RPN, r11
|
|
|
|
+
|
|
|
|
+ addi r10, r10, 0x0100
|
|
|
|
+ mtspr SPRN_MD_CTR, r10
|
|
|
|
|
|
addis r8, r8, 0x0080 /* Add 8M */
|
|
addis r8, r8, 0x0080 /* Add 8M */
|
|
mtspr SPRN_MD_EPN, r8
|
|
mtspr SPRN_MD_EPN, r8
|
|
mtspr SPRN_MD_TWC, r9
|
|
mtspr SPRN_MD_TWC, r9
|
|
addis r11, r11, 0x0080 /* Add 8M */
|
|
addis r11, r11, 0x0080 /* Add 8M */
|
|
- mtspr SPRN_MD_RPN, r8
|
|
|
|
|
|
+ mtspr SPRN_MD_RPN, r11
|
|
#endif
|
|
#endif
|
|
|
|
|
|
/* Since the cache is enabled according to the information we
|
|
/* Since the cache is enabled according to the information we
|