linux-yocto_3.14: hx4700: v 3.14.4: remove upstreamed patch
PATCH 1/3 linux-yocto_3.14: hx4700: v 3.14.4: remove upstreamed patch
From: Andrea Adami <[email protected]>
commit id=b98c1e1c1f71ab32e755e2e417e9a682865578b8
Signed-off-by Andrea Adami <[email protected]>
--- ...700.h-include-irqs.h-for-PXA_NR_BUILTIN_G.patch | 35 ---------------------- recipes-kernel/linux/linux-yocto_3.14.bbappend | 1 - 2 files changed, 36 deletions(-) delete mode 100644 recipes-kernel/linux/linux-yocto-3.14/hx4700/hx4700.h-include-irqs.h-for-PXA_NR_BUILTIN_G.patch
recipes-kernel/linux/linux-yocto-3.14/hx4700/hx4700.h-include-irqs.h-for-PXA_NR_BUILTIN_G.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 75249379d18d5bde2d38edb77e1723481d470757 Mon Sep 17 00:00:00 2001 -From: Andrea Adami <[email protected]> -Date: Sat, 5 Apr 2014 18:09:07 +0200 -Subject: [PATCH] ARM: pxa: hx4700.h: include "irqs.h" for - PXA_NR_BUILTIN_GPIO - -hx4700 needs the same fix as in -9705e74671f0e4f994d86b00cecf441917c64a66 -"ARM: pxa: fix various compilation problems" - -Fix build errors. Initial one is: -/linux/arch/arm/mach-pxa/include/mach/hx4700.h:18:32: error: - 'PXA_NR_BUILTIN_GPIO' undeclared here (not in a function) -| #define HX4700_ASIC3_GPIO_BASE PXA_NR_BUILTIN_GPIO - -Signed-off-by: Andrea Adami <[email protected]> ---- - arch/arm/mach-pxa/include/mach/hx4700.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/arch/arm/mach-pxa/include/mach/hx4700.h b/arch/arm/mach-pxa/include/mach/hx4700.h -index 8bc0291..0e1bb46 100644 ---- a/arch/arm/mach-pxa/include/mach/hx4700.h -+++ b/arch/arm/mach-pxa/include/mach/hx4700.h -@@ -14,6 +14,7 @@ - - #include <linux/gpio.h> - #include <linux/mfd/asic3.h> -+#include "irqs.h" /* PXA_NR_BUILTIN_GPIO */ - - #define HX4700_ASIC3_GPIO_BASE PXA_NR_BUILTIN_GPIO - #define HX4700_EGPIO_BASE (HX4700_ASIC3_GPIO_BASE + ASIC3_NUM_GPIOS) --- -1.8.1.5 -
recipes-kernel/linux/linux-yocto_3.14.bbappend +0 -1
@@ -110,7 +110,6 @@ SRC_URI_append_hx4700 = " \ file://defconfig \ file://OE-vga-logo.patch \ file://hx4700-change-led-trigger-assignments.patch \ - file://hx4700.h-include-irqs.h-for-PXA_NR_BUILTIN_G.patch \ " SRC_URI_append_poodle = " \
Signature · 1 line
1.9.1
PATCH 2/3 linux-yocto_3.14: collie: remove detection hack
From: Andrea Adami <[email protected]>
The collie used for development has unfortunately an hw flaw and the CFI table is missing on one NOR chip.
Further testings on other models are giving normal readings.
Signed-off-by Andrea Adami <[email protected]>
--- .../collie/collie-match-cfi-qry.patch | 47 ---------------------- recipes-kernel/linux/linux-yocto_3.14.bbappend | 1 - 2 files changed, 48 deletions(-) delete mode 100644 recipes-kernel/linux/linux-yocto-3.14/collie/collie-match-cfi-qry.patch
recipes-kernel/linux/linux-yocto-3.14/collie/collie-match-cfi-qry.patch deleted +0 -47
@@ -1,47 +0,0 @@ -From 66ec11df6561d5ba7cdf41977af828a53ba6b99f Mon Sep 17 00:00:00 2001 -From: Andrea Adami <[email protected]> -Date: Sat, 1 Feb 2014 13:17:24 +0100 -Subject: [PATCH] mtd: cfi_util.c: force CFI detection of 2x LH28F640BF - -Signed-off-by: Andrea Adami <[email protected]> ---- - drivers/mtd/chips/cfi_util.c | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -diff --git a/drivers/mtd/chips/cfi_util.c b/drivers/mtd/chips/cfi_util.c -index f992418..2c7a13d 100644 ---- a/drivers/mtd/chips/cfi_util.c -+++ b/drivers/mtd/chips/cfi_util.c -@@ -29,6 +29,7 @@ int __xipram cfi_qry_present(struct map_info *map, __u32 base, - int osf = cfi->interleave * cfi->device_type; /* scale factor */ - map_word val[3]; - map_word qry[3]; -+ unsigned long mask = (1 << (cfi->device_type * 8)) - 1; - - qry[0] = cfi_build_cmd('Q', map, cfi); - qry[1] = cfi_build_cmd('R', map, cfi); -@@ -38,6 +39,21 @@ int __xipram cfi_qry_present(struct map_info *map, __u32 base, - val[1] = map_read(map, base + osf*0x11); - val[2] = map_read(map, base + osf*0x12); - -+ /* Apparently only one of the 2 interleaved LH28F640BF 16 bit chips on -+ * a 32 bit wide bus is answering to the CFI Query. -+ * Using the expected map bankwidth=4 and chip interleave=2 we get wrong -+ * readings like 0xffff0051 instead of 0x00510051 etc. -+ * We take the valid bytes and recreate the expected answer as workaround. -+ */ -+ if (((val[0].x[0] >> (cfi->device_type * 8)) == mask) && -+ ((val[1].x[0] >> (cfi->device_type * 8)) == mask) && -+ ((val[2].x[0] >> (cfi->device_type * 8)) == mask)) -+ { -+ val[0].x[0] = (val[0].x[0] & mask) + ((val[0].x[0] & mask) << (cfi->device_type * 8)); -+ val[1].x[0] = (val[1].x[0] & mask) + ((val[1].x[0] & mask) << (cfi->device_type * 8)); -+ val[2].x[0] = (val[2].x[0] & mask) + ((val[2].x[0] & mask) << (cfi->device_type * 8)); -+ } -+ - if (!map_word_equal(map, qry[0], val[0])) - return 0; - --- -1.8.1.5 -
recipes-kernel/linux/linux-yocto_3.14.bbappend +0 -1
@@ -55,7 +55,6 @@ SRC_URI_append_collie = " \ \ file://collie-cfi-probe-again.patch \ file://collie-mtd-resize.patch \ - file://collie-match-cfi-qry.patch \ file://collie-LH28F640BF.patch \ file://collie-add-bootblock.patch \ \
Signature · 1 line
1.9.1
PATCH 3/3 linux-yocto(-tiny-kexecboot)_3.10: collie: remove detection hack
In reply to Andrea AdamiFrom: Andrea Adami <[email protected]>
The collie used for development has unfortunately an hw flaw and the CFI table is missing on one NOR chip.
Further testings on other models are giving normal readings.
Signed-off-by Andrea Adami <[email protected]>
--- .../linux/linux-yocto-3.10/collie/collie.scc | 1 - .../patches/patches-mtd/collie-match-cfi-qry.patch | 47 ---------------------- .../linux/linux-yocto-tiny-kexecboot_3.10.bbappend | 1 - 3 files changed, 49 deletions(-) delete mode 100644 recipes-kernel/linux/linux-yocto-3.10/patches/patches-mtd/collie-match-cfi-qry.patch
recipes-kernel/linux/linux-yocto-3.10/collie/collie.scc +0 -1
@@ -11,7 +11,6 @@ patch ../patches/patches-mtd/collie-eraseinfo.patch // for 3.12 patch ../patches/patches-mtd/collie-cfi-probe-again.patch patch ../patches/patches-mtd/collie-mtd-resize.patch -patch ../patches/patches-mtd/collie-match-cfi-qry.patch patch ../patches/patches-mtd/collie-LH28F640BF.patch patch ../patches/patches-sa1100/collie-irda.patch patch ../patches/patches-sa1100/collie-add-bootblock.patch
recipes-kernel/linux/linux-yocto-3.10/patches/patches-mtd/collie-match-cfi-qry.patch deleted +0 -47
47 lines not on this page · raw message
recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bbappend +0 -1
@@ -50,7 +50,6 @@ SRC_URI_append_collie = " \ file://patches/patches-mtd/collie-eraseinfo.patch \ file://patches/patches-mtd/collie-cfi-probe-again.patch \ file://patches/patches-mtd/collie-mtd-resize.patch \ - file://patches/patches-mtd/collie-match-cfi-qry.patch \ file://patches/patches-mtd/collie-LH28F640BF.patch \ file://patches/patches-sa1100/collie-irda.patch \ file://patches/patches-sa1100/collie-add-bootblock.patch \
Signature · 1 line
1.9.1