diff options
author | wdenk <wdenk> | 2004-05-03 20:45:30 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-05-03 20:45:30 +0000 |
commit | 2729af9d544bfba5de47698c2852652d95723943 (patch) | |
tree | 5ce61a31488dc73b827f0a7b519d7ae03c8829bd /board/kup/kup4x | |
parent | 08f1080c9cbde2a500e6efe8bc5647a68f183c91 (diff) | |
download | u-boot-imx-2729af9d544bfba5de47698c2852652d95723943.zip u-boot-imx-2729af9d544bfba5de47698c2852652d95723943.tar.gz u-boot-imx-2729af9d544bfba5de47698c2852652d95723943.tar.bz2 |
* Fix minor NAND JFFS2 related issue
* Fixes for SL811 USB controller:
- implement workaround for broken memory stick
- improve error handling
* Increase packet send timeout to 10 ms in cpu/mpc8xx/scc.c to better
cope with congested networks.
Diffstat (limited to 'board/kup/kup4x')
-rw-r--r-- | board/kup/kup4x/kup4x.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/kup/kup4x/kup4x.c b/board/kup/kup4x/kup4x.c index 86b749d..53342e9 100644 --- a/board/kup/kup4x/kup4x.c +++ b/board/kup/kup4x/kup4x.c @@ -115,7 +115,8 @@ int checkboard (void) { volatile immap_t *immap = (immap_t *) CFG_IMMR; volatile memctl8xx_t *memctl = &immap->im_memctl; - uchar *latch, rev, mod; + volatile uchar *latch; + uchar rev, mod; /* * Init ChipSelect #4 (CAN + HW-Latch) @@ -123,7 +124,7 @@ int checkboard (void) memctl->memc_or4 = 0xFFFF8926; memctl->memc_br4 = 0x90000401; - latch = (uchar *) 0x90000200; + latch = (volatile uchar *) 0x90000200; rev = (*latch & 0xF8) >> 3; mod = (*latch & 0x03); printf ("Board: KUP4X Rev %d.%d SN: %s\n", rev, mod, |