[U-Boot] [PATCH] mtd: nand: fsl_ifc: Fix handling of bitflips in erased pages

2017-06-11 Thread Darwin Dingel
. If the number of bitflips does not exceed the ECC strength, the page is considered empty and the bitflips will be corrected when data is sent to the higher layers (e.g. ubi). Signed-off-by: Darwin Dingel <darwin.din...@alliedtelesis.co.nz> Cc: Pavel Machek <pa...@denx.de> Cc: S

[U-Boot] [PATCH v2] powerpc/t2080: CPU erratum A-007907

2016-10-24 Thread Darwin Dingel
Core hang occurs when using L1 stashes. Workaround is to disable L1 stashes so software uses L2 cache for stashes instead. Reviewed-by: Chris Packham <chris.pack...@alliedtelesis.co.nz> Signed-off-by: Darwin Dingel <darwin.din...@alliedtelesis.co.nz> Cc: York Sun <york@nxp.c

Re: [U-Boot] [PATCH] powerpc/t2080: CPU erratum A-007907

2016-10-24 Thread Darwin Dingel
Hi York, We are not sure yet if we're exactly hitting this core hang issue but we might as well implement the workaround just in case. Cheers, Darwin From: york sun <york@nxp.com> Sent: Saturday, 22 October 2016 9:00 a.m. To: Darwin Dingel;

[U-Boot] [PATCH] powerpc/t2080: CPU erratum A-007907

2016-10-24 Thread Darwin Dingel
Core hang occurs when using L1 stashes. Workaround is to disable L1 stashes so software uses L2 cache for stashes instead. Reviewed-by: Chris Packham <chris.pack...@alliedtelesis.co.nz> Signed-off-by: Darwin Dingel <darwin.din...@alliedtelesis.co.nz> Cc: York Sun <york@nxp

[U-Boot] [PATCH] powerpc/t2080: CPU erratum A-007907

2016-10-19 Thread Darwin Dingel
Core hang occurs when using L1 stashes. Workaround is to disable L1 stashes so software uses L2 cache for stashes instead. Reviewed-by: Chris Packham Cc: York Sun --- arch/powerpc/cpu/mpc85xx/cmd_errata.c | 4 +++-

[U-Boot] [PATCH] Add support for DS1340 RTC

2014-06-09 Thread Darwin Dingel
Implementation is the same as with a DS1337 but with different register addresses. Signed-off-by: Darwin Dingel darwin.din...@alliedtelesis.co.nz --- drivers/rtc/ds1337.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/ds1337.c b/drivers/rtc/ds1337

[U-Boot] [PATCH] disk: part_dos.c: Add a PBR check when MBR checking fails

2014-06-05 Thread Darwin Dingel
partition is found in partition table. If FAT signature is found, the disk will be read as PBR and continue processing. Signed-off-by: Darwin Dingel darwin.din...@alliedtelesis.co.nz --- disk/part_dos.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git

[U-Boot] sdcard with messed up partition table with FAT signature on header

2014-06-04 Thread Darwin Dingel
Hi, I have a sdcard with a messed up partition table with a FAT signature on the header. This is readable under linux but not when I do a 'fatls' which results in Partition 1 not valid on device 0. Before get_device_and_partition() was introduced this was still working because reading the