From patchwork Thu Mar 28 08:29:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 1067895 X-Patchwork-Delegate: sbabic@denx.de 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=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ytKvqaID"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44VJ754gbxz9sPg for ; Thu, 28 Mar 2019 19:33:53 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 596BBC21DA1; Thu, 28 Mar 2019 08:32:18 +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=T_DKIM_INVALID 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 D4A4AC21DF8; Thu, 28 Mar 2019 08:31:01 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D813CC21C4A; Thu, 28 Mar 2019 08:30:43 +0000 (UTC) Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) by lists.denx.de (Postfix) with ESMTPS id D2876C21E60 for ; Thu, 28 Mar 2019 08:30:35 +0000 (UTC) Received: by mail-ot1-f65.google.com with SMTP id o74so17538233ota.3 for ; Thu, 28 Mar 2019 01:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nHvYCmZbA1HGtecMnmEyjjYbEPQ4+kzgda18L3QNFX4=; b=ytKvqaIDJvEvOs1UT2KJGZl/RTIdySMWoifzA5cUZWhu9NR7WnqvqnFeuhKP4Gy6xj zbLWO4Zz7tVOFagusvLiFnIpxMITR/FQJ4aYEP1th1fqdxz8FvrvlNRMp6gP9h9ube7p xAKKEGQEsyVK5j67Q5kBuwOhSxWiEYTI/XHSVfwEhgs4nKrwMcvOrgU/WY1kXiqyuVcl JhnwTBd1tT1qyYHZEgojJgtya10q5ZCpRgsJke/AF1zw4KyZODgEBRh4Y4e7DmO7M/w0 koOkCIulP4Di7OcITj9KiC/3hlRdh/BZ0xMCalYMPlK57bghOpKmWPJw2hCpkHaF+Kpc GQbQ== 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; bh=nHvYCmZbA1HGtecMnmEyjjYbEPQ4+kzgda18L3QNFX4=; b=Lgrm9cmoh7C9LbjzLRqTA2HAI6jsKcDyT+NIcHcSjpOKBYtSE+afN7R5B8RcHVrXyu se9UdA9RIClTP7K/KJ3jUgANHxkvZTZlZM06sfpsABlIRaKrgcfH92kE7tLpSKuyjh8O b5p7fjFtdRah5V2VWV09Cf2Eu2/+fzBGSB0FfSuaZC4W2oywepANV2DAXybxnCJ3LDJP vyj+CLL5E0NbIyAaA6ARo82rZIfrtmm1D3kYTxVkubylfKsQqxtC7FqBr4nScXmLAbUo qc/naoQCe6pbyaFCalt8MwbHsfg3ihvcVraopFtNu8CV0RrPnmo1tPTtkK5ohPfvNEEe Y8XQ== X-Gm-Message-State: APjAAAXoQroeIxguhgWRc8926jHab/jvWyHk+Zh05SQ5aPkjOIa5Xdwo 1RkeGkzAlsKo3RPBCu3qyndmeg== X-Google-Smtp-Source: APXvYqwUXj//l26UZy0qJZbaaHsfnWIYqbZdZmmgnDCJ5sjrS/QAK2m39f/I64+MKzDaP2rJQ5GG+A== X-Received: by 2002:a9d:560e:: with SMTP id e14mr8428587oti.31.1553761834807; Thu, 28 Mar 2019 01:30:34 -0700 (PDT) Received: from localhost.localdomain (li808-42.members.linode.com. [104.237.132.42]) by smtp.gmail.com with ESMTPSA id 96sm7290778otf.17.2019.03.28.01.30.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Mar 2019 01:30:34 -0700 (PDT) From: Jun Nie To: festevam@gmail.com, otavio@ossystems.com.br, peng.fan@nxp.com, vanessa.maegima@nxp.com, bryan.odonoghue@linaro.org, u-boot@lists.denx.de Date: Thu, 28 Mar 2019 16:29:57 +0800 Message-Id: <1553761801-2489-3-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553761801-2489-1-git-send-email-jun.nie@linaro.org> References: <1553761801-2489-1-git-send-email-jun.nie@linaro.org> Subject: [U-Boot] [PATCH v2 2/6] imx: mx7: Add empty arch_cpu_init if skipped 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" Add empty arch_cpu_init if low level init is skipped. So that it does not break spl compile though spl is not needed in the skipped case actually. Signed-off-by: Jun Nie --- arch/arm/mach-imx/mx7/soc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c index 7cfdff0..9b04013 100644 --- a/arch/arm/mach-imx/mx7/soc.c +++ b/arch/arm/mach-imx/mx7/soc.c @@ -286,6 +286,11 @@ int arch_cpu_init(void) return 0; } +#else +int arch_cpu_init(void) +{ + return 0; +} #endif #ifdef CONFIG_ARCH_MISC_INIT