diff options
author | Matthew McClintock <msm@freescale.com> | 2012-08-13 13:21:19 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-08-23 10:24:17 -0500 |
commit | 8c454047fe9c08a51410dca01b945cdcecb18b7e (patch) | |
tree | abe2c281cbaf813d2ae2c46d69e9c2dd05600b1e /drivers | |
parent | abbe536ebc3ee974593b115de716705f0091344a (diff) | |
download | u-boot-imx-8c454047fe9c08a51410dca01b945cdcecb18b7e.zip u-boot-imx-8c454047fe9c08a51410dca01b945cdcecb18b7e.tar.gz u-boot-imx-8c454047fe9c08a51410dca01b945cdcecb18b7e.tar.bz2 |
nand_spl: update udelay for Freescale boards
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 pulls in a lot
of code and would require quite a bit of work to keep us within the
very small space constrains we currently have
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions