mpc85xx: refresh linux 3.14 patches
authorFelix Fietkau <nbd@openwrt.org>
Thu, 27 Nov 2014 18:26:17 +0000 (18:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 27 Nov 2014 18:26:17 +0000 (18:26 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43412

target/linux/mpc85xx/patches-3.14/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch
target/linux/mpc85xx/patches-3.14/100-fix_mpc8568e_mds.patch
target/linux/mpc85xx/patches-3.14/110-fix_mpc8548_cds.patch
target/linux/mpc85xx/patches-3.14/140-powerpc-85xx-tl-wdr4900-v1-support.patch
target/linux/mpc85xx/patches-3.14/210-spi-fsl-espi-preallocate-local-buffer.patch

index da88cedc8c3d1f41c268f8a7f0e9ae962c47da8c..a46e88b42c0e3799d90c6c60bbd9b71eec1c0d71 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/powerpc/platforms/85xx/common.c
 +++ b/arch/powerpc/platforms/85xx/common.c
-@@ -30,6 +30,7 @@ static struct of_device_id __initdata mpc85xx_common_ids[] = {
+@@ -30,6 +30,7 @@ static struct of_device_id __initdata mp
        { .compatible = "fsl,mpc8548-guts", },
        /* Probably unnecessary? */
        { .compatible = "gpio-leds", },
index 4d06dcba92ca856c3bc781f0abb41aa86f8a46ce..993b5f71c3d5a9cdfa643a052c340f9291776b05 100644 (file)
@@ -18,8 +18,6 @@
        L2: l2-cache-controller@20000 {
                compatible = "fsl,mpc8568-l2-cache-controller";
                reg = <0x20000 0x1000>;
-diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts
-index bead2b6..99ffa57 100644
 --- a/arch/powerpc/boot/dts/mpc8568mds.dts
 +++ b/arch/powerpc/boot/dts/mpc8568mds.dts
 @@ -309,6 +309,9 @@
index 460a94bc1964da4a46a35e7ec5943852a7bccfcd..b6dbd0d1b476917a62eaa31ebc83b3fb23823532 100644 (file)
@@ -26,8 +26,6 @@
  
        L2: l2-cache-controller@20000 {
                compatible = "fsl,mpc8548-l2-cache-controller";
-diff --git a/arch/powerpc/boot/dts/mpc8548cds_32b.dts b/arch/powerpc/boot/dts/mpc8548cds_32b.dts
-index 6fd6316..375ed8b 100644
 --- a/arch/powerpc/boot/dts/mpc8548cds_32b.dts
 +++ b/arch/powerpc/boot/dts/mpc8548cds_32b.dts
 @@ -75,6 +75,9 @@
index 5cefaa92033cde9f588f4cda80be4588e383ce83..fa6458019fd6111ec0d6e3469837b982b03abf9a 100644 (file)
@@ -22,11 +22,9 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  create mode 100644 arch/powerpc/boot/dts/tl-wdr4900-v1.dts
  create mode 100644 arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
 
-diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
-index 90e9d95..663fd31 100644
 --- a/arch/powerpc/boot/Makefile
 +++ b/arch/powerpc/boot/Makefile
-@@ -99,6 +99,8 @@ src-plat-$(CONFIG_EMBEDDED6xx) += cuboot-pq2.c cuboot-mpc7448hpc2.c \
+@@ -99,6 +99,8 @@ src-plat-$(CONFIG_EMBEDDED6xx) += cuboot
  src-plat-$(CONFIG_AMIGAONE) += cuboot-amigaone.c
  src-plat-$(CONFIG_PPC_PS3) += ps3-head.S ps3-hvcall.S ps3.c
  src-plat-$(CONFIG_EPAPR_BOOT) += epapr.c epapr-wrapper.c
@@ -35,7 +33,7 @@ index 90e9d95..663fd31 100644
  
  src-wlib := $(sort $(src-wlib-y))
  src-plat := $(sort $(src-plat-y))
-@@ -279,6 +281,7 @@ image-$(CONFIG_TQM8555)                    += cuImage.tqm8555
+@@ -279,6 +281,7 @@ image-$(CONFIG_TQM8555)                    += cuImage.tqm
  image-$(CONFIG_TQM8560)                       += cuImage.tqm8560
  image-$(CONFIG_SBC8548)                       += cuImage.sbc8548
  image-$(CONFIG_KSI8560)                       += cuImage.ksi8560
@@ -43,9 +41,6 @@ index 90e9d95..663fd31 100644
  
  # Board ports in arch/powerpc/platform/embedded6xx/Kconfig
  image-$(CONFIG_STORCENTER)            += cuImage.storcenter
-diff --git a/arch/powerpc/boot/cuboot-tl-wdr4900-v1.c b/arch/powerpc/boot/cuboot-tl-wdr4900-v1.c
-new file mode 100644
-index 0000000..095e777
 --- /dev/null
 +++ b/arch/powerpc/boot/cuboot-tl-wdr4900-v1.c
 @@ -0,0 +1,164 @@
@@ -213,9 +208,6 @@ index 0000000..095e777
 +
 +      platform_ops.fixups = platform_fixups;
 +}
-diff --git a/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
-new file mode 100644
-index 0000000..49e516c
 --- /dev/null
 +++ b/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
 @@ -0,0 +1,212 @@
@@ -431,8 +423,6 @@ index 0000000..49e516c
 +};
 +
 +/include/ "fsl/p1010si-post.dtsi"
-diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
-index d27a255..4b43e41 100755
 --- a/arch/powerpc/boot/wrapper
 +++ b/arch/powerpc/boot/wrapper
 @@ -205,6 +205,10 @@ cuboot*)
@@ -446,8 +436,6 @@ index d27a255..4b43e41 100755
      *-amigaone)
          link_address='0x800000'
          ;;
-diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
-index c17aae8..ead6513 100644
 --- a/arch/powerpc/platforms/85xx/Kconfig
 +++ b/arch/powerpc/platforms/85xx/Kconfig
 @@ -159,6 +159,17 @@ config STX_GP3
@@ -468,8 +456,6 @@ index c17aae8..ead6513 100644
  config TQM8540
        bool "TQ Components TQM8540"
        help
-diff --git a/arch/powerpc/platforms/85xx/Makefile b/arch/powerpc/platforms/85xx/Makefile
-index 25cebe7..14ca496 100644
 --- a/arch/powerpc/platforms/85xx/Makefile
 +++ b/arch/powerpc/platforms/85xx/Makefile
 @@ -22,6 +22,7 @@ obj-$(CONFIG_TWR_P102x)   += twr_p102x.o
@@ -480,9 +466,6 @@ index 25cebe7..14ca496 100644
  obj-$(CONFIG_SBC8548)     += sbc8548.o
  obj-$(CONFIG_PPA8548)     += ppa8548.o
  obj-$(CONFIG_SOCRATES)    += socrates.o socrates_fpga_pic.o
-diff --git a/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c b/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
-new file mode 100644
-index 0000000..95afa4d
 --- /dev/null
 +++ b/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
 @@ -0,0 +1,145 @@
@@ -631,6 +614,3 @@ index 0000000..95afa4d
 +      .calibrate_decr         = generic_calibrate_decr,
 +      .progress               = udbg_progress,
 +};
--- 
-2.1.3
-
index c095510d44096e8f8f2696fb1b2286ddd09419e7..2cbb693ce472be89e4c3ec82414ad276828e0701 100644 (file)
@@ -36,11 +36,9 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  drivers/spi/spi-fsl-lib.h  |  1 +
  2 files changed, 17 insertions(+), 18 deletions(-)
 
-diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c
-index 428dc7a..5207176 100644
 --- a/drivers/spi/spi-fsl-espi.c
 +++ b/drivers/spi/spi-fsl-espi.c
-@@ -334,17 +334,13 @@ static void fsl_espi_do_trans(struct spi_message *m,
+@@ -334,17 +334,13 @@ static void fsl_espi_do_trans(struct spi
  static void fsl_espi_cmd_trans(struct spi_message *m,
                                struct fsl_espi_transfer *trans, u8 *rx_buff)
  {
@@ -61,7 +59,7 @@ index 428dc7a..5207176 100644
        list_for_each_entry(t, &m->transfers, transfer_list) {
                if (t->tx_buf) {
                        memcpy(local_buf + i, t->tx_buf, t->len);
-@@ -357,28 +353,23 @@ static void fsl_espi_cmd_trans(struct spi_message *m,
+@@ -357,28 +353,23 @@ static void fsl_espi_cmd_trans(struct sp
        fsl_espi_do_trans(m, espi_trans);
  
        espi_trans->actual_length = espi_trans->len;
@@ -93,7 +91,7 @@ index 428dc7a..5207176 100644
        for (pos = 0, loop = 0; pos < n_rx; pos += trans_len, loop++) {
                trans_len = n_rx - pos;
                if (trans_len > SPCOM_TRANLEN_MAX - n_tx)
-@@ -412,8 +403,6 @@ static void fsl_espi_rw_trans(struct spi_message *m,
+@@ -412,8 +403,6 @@ static void fsl_espi_rw_trans(struct spi
                else
                        espi_trans->actual_length += espi_trans->len;
        }
@@ -102,7 +100,7 @@ index 428dc7a..5207176 100644
  }
  
  static void fsl_espi_do_one_msg(struct spi_message *m)
-@@ -581,6 +570,7 @@ static irqreturn_t fsl_espi_irq(s32 irq, void *context_data)
+@@ -581,6 +570,7 @@ static irqreturn_t fsl_espi_irq(s32 irq,
  static void fsl_espi_remove(struct mpc8xxx_spi *mspi)
  {
        iounmap(mspi->reg_base);
@@ -110,7 +108,7 @@ index 428dc7a..5207176 100644
  }
  
  static struct spi_master * fsl_espi_probe(struct device *dev,
-@@ -612,10 +602,16 @@ static struct spi_master * fsl_espi_probe(struct device *dev,
+@@ -612,10 +602,16 @@ static struct spi_master * fsl_espi_prob
        mpc8xxx_spi->spi_do_one_msg = fsl_espi_do_one_msg;
        mpc8xxx_spi->spi_remove = fsl_espi_remove;
  
@@ -137,8 +135,6 @@ index 428dc7a..5207176 100644
  err_probe:
        spi_master_put(master);
  err:
-diff --git a/drivers/spi/spi-fsl-lib.h b/drivers/spi/spi-fsl-lib.h
-index 52db693..8dda68b 100644
 --- a/drivers/spi/spi-fsl-lib.h
 +++ b/drivers/spi/spi-fsl-lib.h
 @@ -30,6 +30,7 @@ struct mpc8xxx_spi {
@@ -149,6 +145,3 @@ index 52db693..8dda68b 100644
  #endif
  
        int subblock;
--- 
-2.1.3
-