diff options
author | Scott Wood <scottwood@freescale.com> | 2008-06-30 14:13:28 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-08-12 11:31:31 -0500 |
commit | e4c09508545d1c45617ba45391c03c03cbc360b9 (patch) | |
tree | e852df200e5d41e954f43c1f315a5cd482173a65 /lib_ppc/time.c | |
parent | acdab5c33f1ea6f5e08f06f08bc64af23ff40d71 (diff) | |
download | u-boot-imx-e4c09508545d1c45617ba45391c03c03cbc360b9.zip u-boot-imx-e4c09508545d1c45617ba45391c03c03cbc360b9.tar.gz u-boot-imx-e4c09508545d1c45617ba45391c03c03cbc360b9.tar.bz2 |
NAND boot: MPC8313ERDB support
Note that with older board revisions, NAND boot may only work after a
power-on reset, and not after a warm reset. I don't have a newer board
to test on; if you have a board with a 33MHz crystal, please let me know
if it works after a warm reset.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'lib_ppc/time.c')
-rw-r--r-- | lib_ppc/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_ppc/time.c b/lib_ppc/time.c index 2649d5f..f093a57 100644 --- a/lib_ppc/time.c +++ b/lib_ppc/time.c @@ -67,7 +67,7 @@ void udelay(unsigned long usec) } /* ------------------------------------------------------------------------- */ - +#ifndef CONFIG_NAND_SPL unsigned long ticks2usec(unsigned long ticks) { ulong tbclk = get_tbclk(); @@ -83,7 +83,7 @@ unsigned long ticks2usec(unsigned long ticks) return ((ulong)ticks); } - +#endif /* ------------------------------------------------------------------------- */ int init_timebase (void) |