From: Wolfgang Denk Date: Tue, 14 May 2013 00:37:32 +0200 Subject: [U-Boot] [PATCH 1/4] powerpc: Correct im_dprambase cast In-Reply-To: <1368477117-32669-1-git-send-email-trini@ti.com> References: <1368477117-32669-1-git-send-email-trini@ti.com> Message-ID: <20130513223732.534C03804AF@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 Tom Rini, In message <1368477117-32669-1-git-send-email-trini@ti.com> you wrote: > When casting im_dprambase we must cast to unsigned char not unsigned > short. No, this is wrong. Now you write only 8 bit where 16 bit needs to be written. 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 "Never face facts; if you do, you'll never get up in the morning." - Marlo Thomas