diff options
author | Luka Perkov <luka@openwrt.org> | 2014-02-11 02:07:41 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-02-11 02:07:41 +0000 |
commit | 608ad4b6932f72995144bc72a31b1e0843a5bb28 (patch) | |
tree | 74954deb17c22532d39672450df39812b548af80 /target/linux/mvebu/patches-3.10/0110-mtd-nand-pxa3xx-Add-address-support-for-READID-comma.patch | |
parent | a8c10d8f903682fb3dde82084665a9a72216b02e (diff) | |
download | master-187ad058-608ad4b6932f72995144bc72a31b1e0843a5bb28.tar.gz master-187ad058-608ad4b6932f72995144bc72a31b1e0843a5bb28.tar.bz2 master-187ad058-608ad4b6932f72995144bc72a31b1e0843a5bb28.zip |
mvebu: backport mainline patches from kernel 3.12
This is a backport of the patches accepted to the Linux mainline related to
mvebu SoC (Armada XP and Armada 370) between Linux v3.11, and Linux v3.12.
This work mainly covers:
* Ground work for sharing the pxa nand driver(drivers/mtd/nand/pxa3xx_nand.c)
between the PXA family,and the Armada family.
* Further updates to the mvebu MBus.
* Work and ground work for enabling MSI on the Armada family.
* some phy / mdio bus initialization related work.
* Device tree binding documentation update.
Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
CC: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39565 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/patches-3.10/0110-mtd-nand-pxa3xx-Add-address-support-for-READID-comma.patch')
-rw-r--r-- | target/linux/mvebu/patches-3.10/0110-mtd-nand-pxa3xx-Add-address-support-for-READID-comma.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.10/0110-mtd-nand-pxa3xx-Add-address-support-for-READID-comma.patch b/target/linux/mvebu/patches-3.10/0110-mtd-nand-pxa3xx-Add-address-support-for-READID-comma.patch new file mode 100644 index 0000000000..583b95cea9 --- /dev/null +++ b/target/linux/mvebu/patches-3.10/0110-mtd-nand-pxa3xx-Add-address-support-for-READID-comma.patch @@ -0,0 +1,31 @@ +From 82dad325809637899313315c3103985df94c90a5 Mon Sep 17 00:00:00 2001 +From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> +Date: Tue, 14 May 2013 08:15:24 -0300 +Subject: [PATCH 110/203] mtd: nand: pxa3xx: Add address support for READID + command + +This allows to support READID ONFI command which sends 0x20 +as address together with the 0x90 READID command. + +This is required to detect ONFI compliant devices. + +Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> +Tested-by: Nikita Kiryanov <nikita@compulab.co.il> +Acked-by: Igor Grinberg <grinberg@compulab.co.il> +Reviewed-by: Haojian Zhuang <haojian.zhuang@gmail.com> +Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> +Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> +--- + drivers/mtd/nand/pxa3xx_nand.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/mtd/nand/pxa3xx_nand.c ++++ b/drivers/mtd/nand/pxa3xx_nand.c +@@ -596,6 +596,7 @@ static int prepare_command_pool(struct p + info->ndcb0 |= NDCB0_CMD_TYPE(3) + | NDCB0_ADDR_CYC(1) + | cmd; ++ info->ndcb1 = (column & 0xFF); + + info->data_size = 8; + break; |