From patchwork Mon Jun 25 10:37:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 934160 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=aosc.io Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41Dm4n0xPPz9ry1 for ; Mon, 25 Jun 2018 20:44:08 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id B6BF6C21DFD; Mon, 25 Jun 2018 10:43:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0653BC21C8B; Mon, 25 Jun 2018 10:40:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 93DA6C21C93; Mon, 25 Jun 2018 10:40:32 +0000 (UTC) Received: from glass.birch.relay.mailchannels.net (glass.birch.relay.mailchannels.net [23.83.209.70]) by lists.denx.de (Postfix) with ESMTPS id 41BEFC21C27 for ; Mon, 25 Jun 2018 10:39:29 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 150F85C32AA; Mon, 25 Jun 2018 10:39:27 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.33.46]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id 3E30F5C34DF; Mon, 25 Jun 2018 10:39:26 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.18.55.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.15.2); Mon, 25 Jun 2018 10:39:27 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Juvenile-Imminent: 738874846346a56b_1529923166773_546366638 X-MC-Loop-Signature: 1529923166773:2109669376 X-MC-Ingress-Time: 1529923166773 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id D1841632D7; Mon, 25 Jun 2018 10:39:22 +0000 (UTC) From: Icenowy Zheng To: Jagan Teki , Maxime Ripard , Chen-Yu Tsai Date: Mon, 25 Jun 2018 18:37:16 +0800 Message-Id: <20180625103723.24760-7-icenowy@aosc.io> In-Reply-To: <20180625103723.24760-1-icenowy@aosc.io> References: <20180625103723.24760-1-icenowy@aosc.io> Cc: u-boot@lists.denx.de, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [U-Boot] [PATCH 06/13] sunxi: change GIC address on H6 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" As the Allwinner H6 chip has a new memory map, its GIC MMIO address is thus different. Change the address on H6. Signed-off-by: Icenowy Zheng Reviewed-by: Andre Przywara --- include/configs/sun50i.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/sun50i.h b/include/configs/sun50i.h index b7b67a1ddc..1b3e84c4e9 100644 --- a/include/configs/sun50i.h +++ b/include/configs/sun50i.h @@ -18,8 +18,13 @@ #define CONFIG_SUNXI_USB_PHYS 1 +#ifndef CONFIG_MACH_SUN50I_H6 #define GICD_BASE 0x1c81000 #define GICC_BASE 0x1c82000 +#else +#define GICD_BASE 0x3021000 +#define GICC_BASE 0x3022000 +#endif /* * Include common sunxi configuration where most the settings are