Message ID | 20191212004755.11091-12-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="IK3OplXZ"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47YFZy41Mvz9sRm for <incoming@patchwork.ozlabs.org>; Thu, 12 Dec 2019 11:50:34 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 62889816B4; Thu, 12 Dec 2019 01:48:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="IK3OplXZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 745A5816A5; Thu, 12 Dec 2019 01:48:41 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 076008161D for <u-boot@lists.denx.de>; Thu, 12 Dec 2019 01:48:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd43.google.com with SMTP id z193so876804iof.1 for <u-boot@lists.denx.de>; Wed, 11 Dec 2019 16:48:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qFO0UhUH0d0faVHvYAcX9aBJDNONhUKU/u7HiIE2OlU=; b=IK3OplXZpRtVnNkXvTV5uQ55b3GO47HgfTN8Drb3aOc0oOnBRO9AKNT6B4xxQo+9rp fzqFrp6g3brdWTSFj9ucD8JsBzEWghMdOjmoYtgc68tBVFPH6b9vHc3mpxSz7Qs8qjI6 h361vvyYuGcn1wR0y9V8z68V3uMhV+sN9Cw/8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qFO0UhUH0d0faVHvYAcX9aBJDNONhUKU/u7HiIE2OlU=; b=PPHfwD2NyAE+swZ/vp2npVR70HtnyF9GQLwTGmUSpvTxH7XD89aVzZbGHdrVH9cLij 1RgIsWz1sNFoz2ouh/ttRLTcQU0Ud/srrsf8JXWMg+cpF+VQotSRrylyDn0obkVJpuA2 Y6X+mLlAULGJhc2PFUiJKvYbBIUrakmR+Gqf0W8x15WzttdtGB65AmdqGTlZoCjM32Yu naWCS9fGXeqIyHSQX+yLES2kVBhSd9h9MZ56GzucL88FvUNpzyW/T+nzoQRskMqdsy9X hNf4eN6Xkhm9RLQ8dZeJXMm33bnwQcUSWez6oCn2QEdbDkEGqIsB5kZhEP6q+TsbCKif pqwg== X-Gm-Message-State: APjAAAXRop/Bx5VhHaqGx63BaWRigjV4F9KtzO0SJiKPoYNoTkun9cv9 /Z46WKak96WOv7CzgJ7NcKkAqETpbw4= X-Google-Smtp-Source: APXvYqzyLvdis51pWpDbETeE6FVvnE4BCIr4nKWuik3BodUXUmZPdTj07eJC0jnaUJeCRyHXxJvleQ== X-Received: by 2002:a6b:b9c6:: with SMTP id j189mr921372iof.147.1576111716832; Wed, 11 Dec 2019 16:48:36 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id a11sm880194ioc.86.2019.12.11.16.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 16:48:36 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Subject: [PATCH 18/35] common: arm: Move s_init() to an ARM-specific header Date: Wed, 11 Dec 2019 17:47:37 -0700 Message-Id: <20191212004755.11091-12-sjg@chromium.org> X-Mailer: git-send-email 2.24.0.525.g8f36a354ae-goog In-Reply-To: <20191212004755.11091-2-sjg@chromium.org> References: <20191212004755.11091-2-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Cc: Tom Rini <trini@konsulko.com>, Albert Aribaud <albert.u.boot@aribaud.net>, Boris Brezillon <boris.brezillon@bootlin.com>, Joe Hershberger <joe.hershberger@ni.com> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
common: Further reduce size of common.h even more
|
expand
|
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h index 2e8c8e53d7..62cb5b4a98 100644 --- a/arch/arm/include/asm/u-boot-arm.h +++ b/arch/arm/include/asm/u-boot-arm.h @@ -23,6 +23,8 @@ extern ulong _datarellocal_start_ofs; extern ulong _datarelro_start_ofs; extern ulong IRQ_STACK_START_IN; /* 8 bytes in IRQ stack */ +void s_init(void); + /* cpu/.../cpu.c */ int cleanup_before_linux(void); diff --git a/include/common.h b/include/common.h index 463eeb5d43..f38dc2ef3f 100644 --- a/include/common.h +++ b/include/common.h @@ -74,8 +74,6 @@ phys_size_t get_effective_memsize(void); int testdram(void); #endif /* CONFIG_SYS_DRAM_TEST */ -void s_init(void); - void upmconfig (unsigned int, unsigned int *, unsigned int); ulong get_tbclk (void); void reset_misc (void);
This function is only used on ARM devices so does not belong in the global common header file. Move it to an ARM header. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/arm/include/asm/u-boot-arm.h | 2 ++ include/common.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-)