aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/boot/simple/Makefile3
-rw-r--r--arch/ppc/platforms/pmac_cache.S4
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/ppc/boot/simple/Makefile b/arch/ppc/boot/simple/Makefile
index d8d801fcee10..c28061ad5982 100644
--- a/arch/ppc/boot/simple/Makefile
+++ b/arch/ppc/boot/simple/Makefile
@@ -123,10 +123,13 @@ zimageinitrd-$(pcore) := zImage.initrd-STRIPELF
123 end-$(pcore) := pcore 123 end-$(pcore) := pcore
124 cacheflag-$(pcore) := -include $(clear_L2_L3) 124 cacheflag-$(pcore) := -include $(clear_L2_L3)
125 125
126# Really only valid if CONFIG_6xx=y
126 zimage-$(CONFIG_PPC_PREP) := zImage-PPLUS 127 zimage-$(CONFIG_PPC_PREP) := zImage-PPLUS
127zimageinitrd-$(CONFIG_PPC_PREP) := zImage.initrd-PPLUS 128zimageinitrd-$(CONFIG_PPC_PREP) := zImage.initrd-PPLUS
129ifeq ($(CONFIG_6xx),y)
128 extra.o-$(CONFIG_PPC_PREP) := prepmap.o 130 extra.o-$(CONFIG_PPC_PREP) := prepmap.o
129 misc-$(CONFIG_PPC_PREP) += misc-prep.o mpc10x_memory.o 131 misc-$(CONFIG_PPC_PREP) += misc-prep.o mpc10x_memory.o
132endif
130 end-$(CONFIG_PPC_PREP) := prep 133 end-$(CONFIG_PPC_PREP) := prep
131 134
132 end-$(CONFIG_SANDPOINT) := sandpoint 135 end-$(CONFIG_SANDPOINT) := sandpoint
diff --git a/arch/ppc/platforms/pmac_cache.S b/arch/ppc/platforms/pmac_cache.S
index c00e0352044d..da34a9bc9299 100644
--- a/arch/ppc/platforms/pmac_cache.S
+++ b/arch/ppc/platforms/pmac_cache.S
@@ -28,6 +28,9 @@
28 */ 28 */
29 29
30_GLOBAL(flush_disable_caches) 30_GLOBAL(flush_disable_caches)
31#ifndef CONFIG_6xx
32 blr
33#else
31BEGIN_FTR_SECTION 34BEGIN_FTR_SECTION
32 b flush_disable_745x 35 b flush_disable_745x
33END_FTR_SECTION_IFSET(CPU_FTR_SPEC7450) 36END_FTR_SECTION_IFSET(CPU_FTR_SPEC7450)
@@ -323,3 +326,4 @@ END_FTR_SECTION_IFSET(CPU_FTR_L3CR)
323 mtmsr r11 /* restore DR and EE */ 326 mtmsr r11 /* restore DR and EE */
324 isync 327 isync
325 blr 328 blr
329#endif /* CONFIG_6xx */