85xx: Fix relocation of CCSRBAR
[oweals/u-boot.git] / cpu / mpc85xx / config.mk
index a51527a6bc96f276a6dce8593acd5a31aefb7c08..9e574a20d010ce010da1a767fe21c914d686e34c 100644 (file)
@@ -23,4 +23,6 @@
 
 PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
 
-PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx -DCONFIG_E500 -ffixed-r2 -ffixed-r29 -Wa,-me500 -msoft-float -O2
+PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx -DCONFIG_E500 -ffixed-r2 \
+                       -Wa,-me500 -msoft-float -mno-string
+PLATFORM_CPPFLAGS +=$(call cc-option,-mno-spe)