summaryrefslogtreecommitdiffstats
path: root/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-nand-markbad-reallybad.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-25 15:47:54 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-25 15:47:54 +0000
commit85e3e7265be8389f65c52f4585ad9b4667c96dc2 (patch)
treeb10bfe0154668dbf0a322f7a379bab1f549da6db /meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-nand-markbad-reallybad.patch
parentc6422207156a33edaf2d8dd72a37ef2d7ce7e966 (diff)
downloadpoky-85e3e7265be8389f65c52f4585ad9b4667c96dc2.tar.gz
u-boot-mkimage-native: use 1.3.2 version instead of Openmoko patched version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4114 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-nand-markbad-reallybad.patch')
-rw-r--r--meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-nand-markbad-reallybad.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-nand-markbad-reallybad.patch b/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-nand-markbad-reallybad.patch
deleted file mode 100644
index d630889e3c..0000000000
--- a/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-nand-markbad-reallybad.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1This patch makes sure that the 'nand markbad' command does not only mark a block
2'bad' in the bad-block table, but _also_ marks it bad in the OOB area.
3
4we need this to preserve the bad block status when re-creating the bad block table
5at some later point.
6
7Signed-off-by: Harald Welte <laforge@openmoko.org>
8Index: u-boot/drivers/nand/nand_base.c
9===================================================================
10--- u-boot.orig/drivers/nand/nand_base.c 2007-03-01 12:47:31.000000000 +0100
11+++ u-boot/drivers/nand/nand_base.c 2007-03-01 12:48:08.000000000 +0100
12@@ -481,7 +481,7 @@
13
14 /* Do we have a flash based bad block table ? */
15 if (this->options & NAND_USE_FLASH_BBT)
16- return nand_update_bbt (mtd, ofs);
17+ nand_update_bbt (mtd, ofs);
18
19 /* We write two bytes, so we dont have to mess with 16 bit access */
20 ofs += mtd->oobsize + (this->badblockpos & ~0x01);