get_timer_masked() should return current timestamp,
not current ticks from hardware register.
Tested on one custom board with NAND flash.
Without this patch, NAND write always TIMEOUT
because get_timer(0) return a big value.
This patch applies for u-boot-2010.06
Signed-off-by: Li Haibo
---
v2
> Hi,
>
> SPI flash seems supported in u-boot after searching it in the mailing
> list. But can u-boot boot from spi flash?
>
> Thanks,
> -Shawn.
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
I do b
> Hi Haibo Li
>
> I am try to help on test patch. :)
> you should not include the reply in your patch. those reply
> message will goto git commit message which is not needed.
>
> On 08/10/2010 10:57 AM, Li Haibo wrote:
> >> Wolfgang Denk wrote:
> >>>
p,
not current ticks from hardware register.
Tested on one custom board with NAND flash.
Without this patch, NAND write always TIMEOUT
because get_timer(0) return a big value.
This patch applies for u-boot-2010.06
Signed-off-by: Li Haibo
---
arch/arm/cpu/arm_cortexa8/mx51/timer.c |2 +-
1 f
p,
not current ticks from hardware register.
Tested on one custom board with NAND flash.
Without this patch, NAND write always TIMEOUT
because get_timer(0) return a big value.
This patch applies for u-boot-2010.06
Signed-off-by: Li Haibo
---
arch/arm/cpu/arm_cortexa8/mx51/timer.c |2 +-
1 f
get_timer_masked() should return current timestamp,
not current ticks from hardware register.
Tested on one custom board with NAND flash.
Without this patch, NAND write always TIMEOUT
because get_timer(0) return a big value.
This patch applies for u-boot-2010.06
Signed-off-by: Li Haibo
6 matches
Mail list logo