From 2729af9d544bfba5de47698c2852652d95723943 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 3 May 2004 20:45:30 +0000 Subject: * 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. --- board/kup/kup4x/kup4x.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'board') 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, -- cgit v1.1