Message ID | 20211026002344.405160-23-sjg@chromium.org |
---|---|
State | Changes Requested |
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: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=iGa89NyG; dkim-atps=neutral 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>) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HdXjC2r6mz9sRN for <incoming@patchwork.ozlabs.org>; Tue, 26 Oct 2021 11:27:59 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 319BA835A8; Tue, 26 Oct 2021 02:27:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="iGa89NyG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E6AD88331E; Tue, 26 Oct 2021 02:24:50 +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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (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 1256C8355C for <u-boot@lists.denx.de>; Tue, 26 Oct 2021 02:24:17 +0200 (CEST) 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-oi1-x22f.google.com with SMTP id q129so18073880oib.0 for <u-boot@lists.denx.de>; Mon, 25 Oct 2021 17:24:17 -0700 (PDT) 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=wP4jkiwX8AxUGQDUT7SouN0AYWjyBZ/HdU2r78kGBZ4=; b=iGa89NyGzMszKwoPQ2j8SVi+fhfQSY/KFir/L8YpeZDC4r9PCPb4fRUKLAXRkBcYLZ iQLNZXYiPalEdLIrOg468TwtEr66LTsz9EcGgE3uIp/8MhZGLgouOjp+NBLMv5iWwMGH AN066My9niNyuFsGc7CA78UapLSrvChHlc52s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wP4jkiwX8AxUGQDUT7SouN0AYWjyBZ/HdU2r78kGBZ4=; b=vz+2TJhUq7k+GJ0QDA4S4Be5AR0pp7+zJFJIjbAcR2jjEBclZ2z7k/zzIT3nh9oAaK 1EfQw7HJiBS6V+4Pnhhh3v047SPFGXPDGkK7wAfymDMKfi64w13BkvCmlwiCgXV5nqHl 67KSsZmwnbK9FdkPo4dbly/srLxKrFnxSpYcnyR0L2fNj6HygiPKm3Ft6JJ5lt6NdWD4 BJmiHVx2t8Y6lZfO4ZlPK36ZPIrZ2AEuchWUhXO+9xceNOJEJVK3ukl1ztN11bUCnRE6 WwhIW5xci3L6WDI0nweyPioESaK2nswe2UD0Y2wL7kIGt/DMhtb3c3vMv+jyByxtsfBR Z3BA== X-Gm-Message-State: AOAM532I0De1CLanLCHgZv38TM4cRT2/gX6YfLhcY12a1/OGrsLe6n5A haA3C+LKU4ok00VRFx9r50AS4g3eb9g= X-Google-Smtp-Source: ABdhPJzMSWwGa4HVedPogm6SBXNimE9KNBd6kMmx3GNyBJbmmfpuDXtZsIF6gOqCmI7YDO2AnQglEw== X-Received: by 2002:aca:adce:: with SMTP id w197mr4822518oie.51.1635207856426; Mon, 25 Oct 2021 17:24:16 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id v24sm3331926oou.45.2021.10.25.17.24.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 17:24:16 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Mark Kettenis <mark.kettenis@xs4all.nl>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Tom Rini <trini@konsulko.com>, Sean Anderson <seanga2@gmail.com>, Simon Glass <sjg@chromium.org>, Jerry Van Baren <vanbaren@cideas.com> Subject: [PATCH v5 22/26] fdt: Drop #ifdef around board_fdt_blob_setup() Date: Mon, 25 Oct 2021 18:23:40 -0600 Message-Id: <20211026002344.405160-23-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.1079.g6e70778dc9-goog In-Reply-To: <20211026002344.405160-1-sjg@chromium.org> References: <20211026002344.405160-1-sjg@chromium.org> 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.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
fdt: Make OF_BOARD a boolean option
|
expand
|
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 69877baaaf5..5a4cf440fa7 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1203,7 +1203,6 @@ static int uncompress_blob(const void *src, ulong sz_src, void **dstp) return 0; } -#if defined(CONFIG_OF_BOARD) || defined(CONFIG_OF_SEPARATE) /* * For CONFIG_OF_SEPARATE, the board may optionally implement this to * provide and/or fixup the fdt. @@ -1223,7 +1222,6 @@ __weak void *board_fdt_blob_setup(void) #endif return fdt_blob; } -#endif int fdtdec_set_ethernet_mac_address(void *fdt, const u8 *mac, size_t size) {
This serves no purpose. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) lib/fdtdec.c | 2 -- 1 file changed, 2 deletions(-)