[kernel/2.6.38] fix gcc-4.6 set but unused warnings
[openwrt.git] / target / linux / ppc40x / patches / 003-powerpc-add-EBC_BXCR-defines.patch
index ca70f72..ebdaac8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/powerpc/boot/dcr.h
 +++ b/arch/powerpc/boot/dcr.h
 --- a/arch/powerpc/boot/dcr.h
 +++ b/arch/powerpc/boot/dcr.h
-@@ -49,6 +49,14 @@ static const unsigned long sdram_bxcr[] 
+@@ -49,6 +49,14 @@ static const unsigned long sdram_bxcr[]
  #define   EBC_BXCR(n)                                   (n)
  #define           EBC_BXCR_BAS                                    0xfff00000
  #define           EBC_BXCR_BS                                     0x000e0000
  #define   EBC_BXCR(n)                                   (n)
  #define           EBC_BXCR_BAS                                    0xfff00000
  #define           EBC_BXCR_BS                                     0x000e0000
@@ -15,7 +15,7 @@
  #define           EBC_BXCR_BANK_SIZE(reg) \
        (0x100000 << (((reg) & EBC_BXCR_BS) >> 17))
  #define           EBC_BXCR_BU                                     0x00018000
  #define           EBC_BXCR_BANK_SIZE(reg) \
        (0x100000 << (((reg) & EBC_BXCR_BS) >> 17))
  #define           EBC_BXCR_BU                                     0x00018000
-@@ -57,6 +65,9 @@ static const unsigned long sdram_bxcr[] 
+@@ -57,6 +65,9 @@ static const unsigned long sdram_bxcr[]
  #define             EBC_BXCR_BU_WO                                  0x00010000
  #define             EBC_BXCR_BU_RW                                  0x00018000
  #define           EBC_BXCR_BW                                     0x00006000
  #define             EBC_BXCR_BU_WO                                  0x00010000
  #define             EBC_BXCR_BU_RW                                  0x00018000
  #define           EBC_BXCR_BW                                     0x00006000
This page took 0.025703 seconds and 4 git commands to generate.