From patchwork Mon Feb 28 09:27:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 84753 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id C641FB7130 for ; Mon, 28 Feb 2011 20:27:49 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3D4CA280A0; Mon, 28 Feb 2011 10:27:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wye8m0toVmVI; Mon, 28 Feb 2011 10:27:37 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EB3722808C; Mon, 28 Feb 2011 10:27:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3978928084 for ; Mon, 28 Feb 2011 10:27:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NYA9L8eJ7jE2 for ; Mon, 28 Feb 2011 10:27:19 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by theia.denx.de (Postfix) with ESMTPS id 1F7D128080 for ; Mon, 28 Feb 2011 10:27:18 +0100 (CET) Received: by mail-bw0-f44.google.com with SMTP id 13so3579075bwz.3 for ; Mon, 28 Feb 2011 01:27:18 -0800 (PST) Received: by 10.204.10.141 with SMTP id p13mr4547059bkp.106.1298885238691; Mon, 28 Feb 2011 01:27:18 -0800 (PST) Received: from localhost ([178.23.216.97]) by mx.google.com with ESMTPS id u23sm2370222bkw.9.2011.02.28.01.27.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Feb 2011 01:27:17 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de Date: Mon, 28 Feb 2011 10:27:08 +0100 Message-Id: <1298885229-26247-3-git-send-email-monstr@monstr.eu> X-Mailer: git-send-email 1.5.5.1 In-Reply-To: <1298885229-26247-2-git-send-email-monstr@monstr.eu> References: <1298885229-26247-1-git-send-email-monstr@monstr.eu> <1298885229-26247-2-git-send-email-monstr@monstr.eu> Subject: [U-Boot] [PATCH] microblaze: Remove address offset for uart16550 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de U-Boot BSP handle 0x3 offset for big endian systems. Little endian Microblaze systems don't use any offset. Signed-off-by: Michal Simek --- include/configs/microblaze-generic.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 8cdd72a..a334110 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -44,7 +44,7 @@ # define CONFIG_SYS_NS16550_REG_SIZE -4 # define CONFIG_CONS_INDEX 1 # define CONFIG_SYS_NS16550_COM1 \ - (XILINX_UART16550_BASEADDR + 0x1000 + 0x3) + (XILINX_UART16550_BASEADDR + 0x1000) # define CONFIG_SYS_NS16550_CLK XILINX_UART16550_CLOCK_HZ # define CONFIG_BAUDRATE 115200