source: trunk/target/linux/generic/patches-2.6.39/991-ppc4xx_optimization.patch @ 26615

Last change on this file since 26615 was 26615, checked in by nbd, 6 years ago

generic: Add support for 2.6.39

Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.

File size: 1.2 KB
  • arch/powerpc/Makefile

    Upstream doesn't optimize the kernel and bootwrappers for ppc44x because
    they still want to support gcc 3.3 -- well, we don't.
    
    a b ifeq ($(CONFIG_FUNCTION_TRACER),y) 
    130130KBUILD_CFLAGS           += -mno-sched-epilog 
    131131endif 
    132132 
    133 cpu-as-$(CONFIG_4xx)            += -Wa,-m405 
     133cpu-as-$(CONFIG_40x)            += -Wa,-m405 
     134cpu-as-$(CONFIG_44x)            += -Wa,-m440 
    134135cpu-as-$(CONFIG_6xx)            += -Wa,-maltivec 
    135136cpu-as-$(CONFIG_POWER4)         += -Wa,-maltivec 
    136137cpu-as-$(CONFIG_E500)           += -Wa,-me500 
  • arch/powerpc/boot/Makefile

    a b BOOTCFLAGS += -I$(obj) -I$(srctree)/$(ob 
    3838DTC_FLAGS       ?= -p 1024 
    3939 
    4040$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 
    41 $(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 
     41$(obj)/ebony.o: BOOTCFLAGS += -mcpu=440 
    4242$(obj)/cuboot-hotfoot.o: BOOTCFLAGS += -mcpu=405 
    43 $(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 
    44 $(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 
     43$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=440 
     44$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=440 
    4545$(obj)/cuboot-acadia.o: BOOTCFLAGS += -mcpu=405 
    4646$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 
    4747$(obj)/treeboot-iss4xx.o: BOOTCFLAGS += -mcpu=405 
Note: See TracBrowser for help on using the repository browser.