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

2017-06-11 Thread Darwin Dingel
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 Cc: Pavel Machek Cc: Scott Wood --- drivers/mtd/nand/fsl_ifc_nand.c | 71

[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 Signed-off-by: Darwin Dingel Cc: York Sun --- Changes for v2: - Enabled for T4240 and B4860 arch/powerpc/cpu/mpc85xx/cmd_errata.c | 4

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 Sent: Saturday, 22 October 2016 9:00 a.m. To: Darwin Dingel; u-boot@lists.de

[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 Signed-off-by: Darwin Dingel Cc: York Sun --- arch/powerpc/cpu/mpc85xx/cmd_errata.c | 4 +++- arch/powerpc/cpu/mpc85xx/cpu_init.c | 7

[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 +++- arch/powerpc/cpu/mpc85xx/cpu_init.c | 7 +++ arch/powerpc/include/

[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 --- drivers/rtc/ds1337.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/ds1337.c b/drivers/rtc/ds1337.c index dae1b3c..0c1ba8c 100644

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

2014-06-05 Thread Darwin Dingel
s done when no valid 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 --- disk/part_dos.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/disk/part_dos

[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 'fatl