From nobody Fri Dec 19 14:31:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1579271933; cv=none; d=zohomail.com; s=zohoarc; b=ZhWrdKi4xf3wvQz+QnAazVmaCL0Kv1n6btvuESi5VUuShAYqiAhZicEbmntc9vknSxvIRGE0sUbu0dTQGUoqWqlsUV2Bs4HHdUcJHWNzMWTiQJTKxboVnX2D8Rtll6PmCAf1FgyRtqMO7g5wn+dioUjWzlAWtIPVU1vVQXmlRmQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579271933; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=yAXStqvSo75J+RhFz6OTyKrPT64wS5FAux7gYRx0+CQ=; b=H/j2LJjkkXLX8Tb2lK+A0WXmU3xV+cBzWE3POOg+XHiQzueilyALb+fiOqhXJ1/dAAQ10f8VakjVSGvqUQoSb+fatRc3arUgJ2v4hxZNCmjXqZ05ay15Sd5ts5UV7yTIvS6CGe8c/g1W/DGRkWiSo4gRY/SnFpSSUF4LjQJoZbI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1579271933095341.27304599761214; Fri, 17 Jan 2020 06:38:53 -0800 (PST) Received: from localhost ([::1]:58588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isSlv-00013Q-IS for importer@patchew.org; Fri, 17 Jan 2020 09:38:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56526) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isSbu-0006Io-I7 for qemu-devel@nongnu.org; Fri, 17 Jan 2020 09:28:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isSbt-00074y-BG for qemu-devel@nongnu.org; Fri, 17 Jan 2020 09:28:30 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:46884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isSbt-000747-59 for qemu-devel@nongnu.org; Fri, 17 Jan 2020 09:28:29 -0500 Received: by mail-wr1-x42c.google.com with SMTP id z7so22863831wrl.13 for ; Fri, 17 Jan 2020 06:28:29 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id e18sm33811146wrw.70.2020.01.17.06.28.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2020 06:28:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=yAXStqvSo75J+RhFz6OTyKrPT64wS5FAux7gYRx0+CQ=; b=ZsC0beMfjQld6iTNEYAfF8YBq+Xlb5u843+eo3HMe4lSTqUrcud3L1/kBLQ/IP4GH4 NznG4kHxSp3CDK2dfl1uytDuqXAKfqxvp8HakADQ9AbobC+YLIitxbVhrlrT+/G0fCjj JZIwaoZrpJGv9FoJkpVVCL/UiB35lA9Yf43A+kJIPEx5so6+w1wPaRztB5pLubg3YPTJ tL1SzRKZsHUQN8O+z/1s8n2Cszxf4A0tMkkIC9b53ZDStZjxaSYxkFOKgFHqTu23te8c OWlt/kBEepzVUKc9OtNxdwpvoPGIeqHV2iMu6XSe4B2J7BpjYFJMtOoK8TbCtN6WKNWG uh0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yAXStqvSo75J+RhFz6OTyKrPT64wS5FAux7gYRx0+CQ=; b=JgbX7zh5GQvOE913E1F4PCv599nKjUq4axKfCq1nlwsaBC21p/c4L+ZOEmLW+Y3+TG LlTb6U4HSfybWiGeZjUsSUEo0oxGbJYdzVaRYxa/QbLow15j6QGY0wXX2GYYBaokRBOm 9a66S8WFHYpfMSUcpn1hxt1R9afapcUJtW9vau8EshcPpT64UqbHczhUM8GsPArvFYp6 O5uFIpBfuKR87ZP6jOBGAMGa1J+43xM1kyh30vyOkaj8Jrjk9Ektx5xpb9GtoAmKnUe6 i8i+D+osOA1COh9FOsxYyTA3BE+UyNzjrmL7QHxF17/Cl0zIx3VAeMfHogHUKmezTv6Z HWgA== X-Gm-Message-State: APjAAAW0thK0Fxz9P62BVBpwp35mtqGqTWMZdu958QG9kuCuc3V2pqyA 4T24RMNMYkKlYDoxgnVkti8HE/+sOsSfTA== X-Google-Smtp-Source: APXvYqxNF/2R/T8vABiouIZfp1Bcpg7Y1YWV1sUbzAJOoxL/2vA43Bf+ruytc2zgPut8OXNGBJ25UA== X-Received: by 2002:a5d:6408:: with SMTP id z8mr3361568wru.122.1579271307867; Fri, 17 Jan 2020 06:28:27 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 07/15] hw/arm/allwinner-a10: Move SoC definitions out of header Date: Fri, 17 Jan 2020 14:28:08 +0000 Message-Id: <20200117142816.15110-8-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200117142816.15110-1-peter.maydell@linaro.org> References: <20200117142816.15110-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) From: Philippe Mathieu-Daud=C3=A9 These definitions are specific to the A10 SoC and don't need to be exported to the different Allwinner peripherals. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-id: 20191230110953.25496-4-f4bug@amsat.org Signed-off-by: Peter Maydell Reviewed-by: Peter Maydell --- include/hw/arm/allwinner-a10.h | 6 ------ hw/arm/allwinner-a10.c | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/hw/arm/allwinner-a10.h b/include/hw/arm/allwinner-a10.h index 7d2d2156308..941c61e5336 100644 --- a/include/hw/arm/allwinner-a10.h +++ b/include/hw/arm/allwinner-a10.h @@ -12,12 +12,6 @@ #include "target/arm/cpu.h" =20 =20 -#define AW_A10_PIC_REG_BASE 0x01c20400 -#define AW_A10_PIT_REG_BASE 0x01c20c00 -#define AW_A10_UART0_REG_BASE 0x01c28000 -#define AW_A10_EMAC_BASE 0x01c0b000 -#define AW_A10_SATA_BASE 0x01c18000 - #define AW_A10_SDRAM_BASE 0x40000000 =20 #define TYPE_AW_A10 "allwinner-a10" diff --git a/hw/arm/allwinner-a10.c b/hw/arm/allwinner-a10.c index 118032c8c72..0f1af5a880f 100644 --- a/hw/arm/allwinner-a10.c +++ b/hw/arm/allwinner-a10.c @@ -25,6 +25,12 @@ #include "hw/misc/unimp.h" #include "sysemu/sysemu.h" =20 +#define AW_A10_PIC_REG_BASE 0x01c20400 +#define AW_A10_PIT_REG_BASE 0x01c20c00 +#define AW_A10_UART0_REG_BASE 0x01c28000 +#define AW_A10_EMAC_BASE 0x01c0b000 +#define AW_A10_SATA_BASE 0x01c18000 + static void aw_a10_init(Object *obj) { AwA10State *s =3D AW_A10(obj); --=20 2.20.1