From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Mon, 06 Dec 2010 21:09:47 +0100 Subject: [U-Boot] [PATCH] ppc: transform init_sequence into a function. In-Reply-To: <1291658370-26367-1-git-send-email-Joakim.Tjernlund@transmode.se> References: <1291658370-26367-1-git-send-email-Joakim.Tjernlund@transmode.se> Message-ID: <20101206200947.C1CD2659@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Joakim Tjernlund, In message <1291658370-26367-1-git-send-email-Joakim.Tjernlund@transmode.se> you wrote: > init_sequence is an array with function pointers which > are really hard to follow when you need to debug this area. > Turn it into plain function calls instead which makes > the code a bit uglier but I find the simpler debugging > much more valuable. This is indeed much uglier. What exactly is your problem with debugging the existing code? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Another war ... must it always be so? How many comrades have we lost in this way? ... Obedience. Duty. Death, and more death ... -- Romulan Commander, "Balance of Terror", stardate 1709.2