From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Fri, 25 Nov 2011 11:30:36 +0100 Subject: [U-Boot] [PATCH v2] microblaze: usable uart16550 for big endian systems In-Reply-To: <1322173972-11048-1-git-send-email-linz@li-pro.net> References: <1322173972-11048-1-git-send-email-linz@li-pro.net> Message-ID: <4ECF6E4C.8010506@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stephan Linz wrote: > As a result of the commit 6833260 the uart16550 driver > is broken for Microblaze big endian systems, because of > the missing 3 byte offset. Other than as described, not > all U-Boot BSP will treat properly the 3 byte offset. > > This why prefer to mask out the 3 byte offset in general > and setup correct _REG_SIZE value depending on edianess. > > Signed-off-by: Stephan Linz > --- > v2: Mask out 3 byte offset > Set correct _REG_SIZE values for big/little endianess > --- > include/configs/microblaze-generic.h | 8 ++++++-- > 1 files changed, 6 insertions(+), 2 deletions(-) Tested-by: Michal Simek Wolfgang: Can you please apply this patch directly to your repo. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian