[U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Matthew McClintock
Let's use the more appropriate udelay for the nand_spl. While we can't make use of u-boot's full udelay we can atl east use a for loop that won't get optimized away .Since we have the bus clock we can use the timebase to calculate wall time. Looked at reusing the u-boot udelay functions but it

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Scott Wood
On 08/13/2012 01:10 PM, Matthew McClintock wrote: Let's use the more appropriate udelay for the nand_spl. While we can't make use of u-boot's full udelay we can atl east use a for loop that won't get optimized away .Since we have the bus clock we can use the timebase to calculate wall time.

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread McClintock Matthew-B29882
On Mon, Aug 13, 2012 at 5:56 PM, Scott Wood scottw...@freescale.com wrote: On 08/13/2012 01:10 PM, Matthew McClintock wrote: Let's use the more appropriate udelay for the nand_spl. While we can't make use of u-boot's full udelay we can atl east use a for loop that won't get optimized away

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Scott Wood
On 08/13/2012 06:14 PM, McClintock Matthew-B29882 wrote: On Mon, Aug 13, 2012 at 5:56 PM, Scott Wood scottw...@freescale.com wrote: On 08/13/2012 01:10 PM, Matthew McClintock wrote: Let's use the more appropriate udelay for the nand_spl. While we can't make use of u-boot's full udelay we can

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread McClintock Matthew-B29882
On Mon, Aug 13, 2012 at 6:22 PM, Scott Wood scottw...@freescale.com wrote: On 08/13/2012 06:14 PM, McClintock Matthew-B29882 wrote: On Mon, Aug 13, 2012 at 5:56 PM, Scott Wood scottw...@freescale.com wrote: On 08/13/2012 01:10 PM, Matthew McClintock wrote: Let's use the more appropriate udelay

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Scott Wood
On 08/13/2012 06:28 PM, McClintock Matthew-B29882 wrote: On Mon, Aug 13, 2012 at 6:22 PM, Scott Wood scottw...@freescale.com wrote: On 08/13/2012 06:14 PM, McClintock Matthew-B29882 wrote: On Mon, Aug 13, 2012 at 5:56 PM, Scott Wood scottw...@freescale.com wrote: On 08/13/2012 01:10 PM,