Message ID | 0e3275dd84f01c964c693a1b40e23e752af96f38.1603362738.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | 7c553ac0ffef5a6bc2f524d11f00338ef59ba7cb |
Delegated to: | Michal Simek |
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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=X85nD6eM; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4CH3bj2FLnz9sRK for <incoming@patchwork.ozlabs.org>; Thu, 22 Oct 2020 21:33:05 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E0A7A8244A; Thu, 22 Oct 2020 12:32:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com 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" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="X85nD6eM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6D33F8243D; Thu, 22 Oct 2020 12:32:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) (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 30CC382423 for <u-boot@lists.denx.de>; Thu, 22 Oct 2020 12:32:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x644.google.com with SMTP id e22so1535328ejr.4 for <u-boot@lists.denx.de>; Thu, 22 Oct 2020 03:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Vv2W9Xy8wQtAKCtZtKsKDr282YBBSVDJHwu4QrgnehE=; b=X85nD6eMzeiEeZNijKhug8USdzRDRe29yZCT0of9TUg9SC7W4vme3cRZBqZISZjASF 4Vxhw5IuaLNyq9K2PKMUR+caUPsLo80m5MTK6HlQJKkGooyh14VJLJ/DasadcGa6I5DA FFSitgPGQqc8yphggTlakEsIcnH6VoOjH5nYoMdQUT7UZJIF4CKMt7WpVozuEXaUZAuu Y9gPQhjNSjkcDp/s2TblL3eWsm7TPm91+CLfRIYlZ5o+ZIANmEDnMt3su3OnUq7HelIY BK3CU6oYErpsb8U8ZGPq06CJ4qayMBMU10SmXQNUKw7Qg74afsfRgNKSzFb6rJBbwlpd wVKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Vv2W9Xy8wQtAKCtZtKsKDr282YBBSVDJHwu4QrgnehE=; b=qA/1xnfiMMGXY4Y4+lql7zYVY22UZ45T9cGa6ZQ2ypO/QdAhVbYrTThVXixvybbTnT EiXlpxMfS2NBSG5kmSdd9uFW1/zNSMRApfQBWNC9xVVewaV+1+3DzsSOvSVrjuBK45Zz y09MeHx/vcRLuR5jze45LB162N5anR2ReIA6xt39zcG3tIjfogr9CCx3tZvxMALFU6AQ GVK2JQcNOvVLYw7u13tBsfFimeAWX0j4q93LK7y8okflPAkt5fDTtBUwEVSzsdDZ3RGs zG95xCrVcBvQFf5A1ceOlp55uCr6sitTJvJRdQxCPlSKbWgztsTO/Qa+11aKnYHEbdip vDUg== X-Gm-Message-State: AOAM531hLrXG0T35Rbn9wRKFt8jmILv1vmSsdqXSNQ08o/fg3jCAqQpL RWzoeAghnTS+zAhdo8ku0PA1BsFPkpkOb1+6 X-Google-Smtp-Source: ABdhPJwGGIzUUbgBElBnwmG/MIYvzjRcI6Zk8yZgBVXZYAsZzrESsriAjbxI9Just8LrRUJQ8rhXow== X-Received: by 2002:a17:906:1b0d:: with SMTP id o13mr1551247ejg.526.1603362750562; Thu, 22 Oct 2020 03:32:30 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id l12sm524328edj.75.2020.10.22.03.32.29 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Oct 2020 03:32:30 -0700 (PDT) From: Michal Simek <michal.simek@xilinx.com> To: u-boot@lists.denx.de, git@xilinx.com Subject: [PATCH 02/10] xilinx: common: Protect board_late_init_xilinx() Date: Thu, 22 Oct 2020 12:32:14 +0200 Message-Id: <0e3275dd84f01c964c693a1b40e23e752af96f38.1603362738.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <cover.1603362738.git.michal.simek@xilinx.com> References: <cover.1603362738.git.michal.simek@xilinx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
xilinx: common: Several minor fixups
|
expand
|
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 74e81c18bd5a..821ee836dd84 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c @@ -352,6 +352,7 @@ void *board_fdt_blob_setup(void) } #endif +#if defined(CONFIG_BOARD_LATE_INIT) static int env_set_by_index(const char *name, int index, char *data) { char var[32]; @@ -414,3 +415,4 @@ int board_late_init_xilinx(void) return 0; } +#endif
Do not call board_late_init_xilinx() when BOARD_LATE_INIT is not enabled. Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- board/xilinx/common/board.c | 2 ++ 1 file changed, 2 insertions(+)