Changeset 33463


Ignore:
Timestamp:
2012-09-19T12:18:36+02:00 (5 years ago)
Author:
hauke
Message:

[brcm47xx]: update fix-boot patch.

Do not change the code any more but use the kconfig options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/patches-3.3/119-fix-boot.patch

    r31573 r33463  
    1 --- a/arch/mips/kernel/head.S 
    2 +++ b/arch/mips/kernel/head.S 
    3 @@ -121,14 +121,6 @@ 
    4  #endif 
    5         .endm 
    6   
    7 -#ifndef CONFIG_NO_EXCEPT_FILL 
    8 -       /* 
    9 -        * Reserved space for exception handlers. 
    10 -        * Necessary for machines which link their kernels at KSEG0. 
    11 -        */ 
    12 -       .fill   0x400 
    13 -#endif 
    14 - 
    15  EXPORT(_stext) 
    16   
    17  #ifdef CONFIG_BOOT_RAW 
    18 @@ -141,6 +133,14 @@ FEXPORT(__kernel_entry) 
    19         j       kernel_entry 
    20  #endif 
    21   
    22 +#ifndef CONFIG_NO_EXCEPT_FILL 
    23 +       /* 
    24 +        * Reserved space for exception handlers. 
    25 +        * Necessary for machines which link their kernels at KSEG0. 
    26 +        */ 
    27 +       .fill   0x400 
    28 +#endif 
    29 + 
    30  #ifdef CONFIG_IMAGE_CMDLINE_HACK 
    31         .ascii  "CMDLINE:" 
    32  EXPORT(__image_cmdline) 
    331--- a/arch/mips/Kconfig 
    342+++ b/arch/mips/Kconfig 
    35 @@ -92,6 +92,7 @@ config ATH79 
     3@@ -92,11 +92,13 @@ config ATH79 
    364  
    375 config BCM47XX 
     
    419        select CSRC_R4K 
    4210        select DMA_NONCOHERENT 
     11        select HW_HAS_PCI 
     12        select IRQ_CPU 
     13+       select NO_EXCEPT_FILL 
     14        select SYS_SUPPORTS_32BIT_KERNEL 
     15        select SYS_SUPPORTS_LITTLE_ENDIAN 
     16        select GENERIC_GPIO 
Note: See TracChangeset for help on using the changeset viewer.