[oe] [PATCH] u-boot-2009.03: Fix sector table direction for AMIC (hipox machine only)
Mario Schuknecht
m.schuknecht at dresearch.de
Wed Feb 16 13:26:14 UTC 2011
Signed-off-by: Mario Schuknecht <m.schuknecht at dresearch.de>
---
.../u-boot-2009.03/hipox/11-cfi-amic-fixup.patch | 11 +++++++++++
recipes/u-boot/u-boot_2009.03.bb | 1 +
2 files changed, 12 insertions(+), 0 deletions(-)
create mode 100644 recipes/u-boot/u-boot-2009.03/hipox/11-cfi-amic-fixup.patch
diff --git a/recipes/u-boot/u-boot-2009.03/hipox/11-cfi-amic-fixup.patch b/recipes/u-boot/u-boot-2009.03/hipox/11-cfi-amic-fixup.patch
new file mode 100644
index 0000000..a7432a5
--- /dev/null
+++ b/recipes/u-boot/u-boot-2009.03/hipox/11-cfi-amic-fixup.patch
@@ -0,0 +1,11 @@
+diff -Nurd u-boot-2009.03.orig//drivers/mtd/cfi_flash.c u-boot-2009.03/drivers/mtd/cfi_flash.c
+--- u-boot-2009.03.orig//drivers/mtd/cfi_flash.c 2011-02-11 15:18:38.000000000 +0100
++++ u-boot-2009.03/drivers/mtd/cfi_flash.c 2011-02-11 15:19:06.000000000 +0100
+@@ -1883,6 +1883,7 @@
+ /* Do manufacturer-specific fixups */
+ switch (info->manufacturer_id) {
+ case 0x0001:
++ case 0x0037: // AMIC
+ case 0x00da: // Winbond
+ flash_fixup_amd(info, &qry);
+ break;
diff --git a/recipes/u-boot/u-boot_2009.03.bb b/recipes/u-boot/u-boot_2009.03.bb
index 2cbded9..d6e9768 100644
--- a/recipes/u-boot/u-boot_2009.03.bb
+++ b/recipes/u-boot/u-boot_2009.03.bb
@@ -14,6 +14,7 @@ SRC_URI_append_hipox = "file://00-hipox.patch \
file://03-hipox-direct-switch.patch \
file://04-hipox-env.patch \
file://10-hipox-boot-abort-key.patch \
+ file://11-cfi-amic-fixup.patch \
"
TARGET_LDFLAGS = ""
--
1.7.1
More information about the Openembedded-devel
mailing list