Skip to contentSkip to conversation

LPD7A40x flash cleanup

PATCH New Paul Ruhland 2 participants 2 messages Jun 10, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 LPD7A40x flash cleanup

This patch cleans up some debug code leftover in lpd7a40x board support.

Signature · 11 lines
Paul Ruhland <[email protected]>
Software Engineer
Microwave Data Systems
Rochester, NY 16420
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-lpd7a40x_flash.patch
Type: text/x-diff
Size: 1111 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040610/f91182a2/attachment.patch 
#1 lore raw

PATCH 2/2 LPD7A40x flash cleanup

Quoted 2 lines · In message <[email protected]> you wrote:

This patch cleans up some debug code leftover in lpd7a40x board support.

Where is the CHANGELOG entry?

Review

Quoted 2 lines
(quoted diff) +1 -1
-		reset_timer();
+		reset_timer_masked();

That was really a "debug code leftover" ????

Review

Quoted 11 lines
(quoted diff) +1 -5
-			tstart = get_timer(0);
 			do {
-				ulong now;
 				/* check timeout */
-				//if (get_timer_masked () > CFG_FLASH_ERASE_TOUT) {
-				if ((now = get_timer(tstart)) > CFG_FLASH_ERASE_TOUT) {
-					printf("tstart = 0x%08lx, now = 0x%08lx\n", tstart, now);
+				if (get_timer_masked () > CFG_FLASH_ERASE_TOUT) {
 					*addr = CMD_STATUS_RESET;
 					result = BIT_TIMEOUT;
 					break;

Are you sure your patch description is correct?

Rejected. Please provide a description that matches what you are doing.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Every living thing wants to survive.
	-- Spock, "The Ultimate Computer", stardate 4731.3