Message ID | 20211202155919.2429190-22-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=JMQxZmFU; dkim-atps=neutral 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>) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4J4gsD542Kz9sRK for <incoming@patchwork.ozlabs.org>; Fri, 3 Dec 2021 03:10:08 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF76E83776; Thu, 2 Dec 2021 17:09:37 +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=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="JMQxZmFU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C918883510; Thu, 2 Dec 2021 17:09:22 +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=-2.8 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-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) (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 D5C19834D3 for <u-boot@lists.denx.de>; Thu, 2 Dec 2021 17:00:30 +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-oi1-x22a.google.com with SMTP id n66so24250oia.9 for <u-boot@lists.denx.de>; Thu, 02 Dec 2021 08:00:30 -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=p5ilXa+GtgOw7mJvmBJKAmk3J1YE3K+i0asm3GRRW4A=; b=JMQxZmFUZoctuQDqnoInTR33aiWsEdUMxAMw5AGSiTc2OE/u5ndZSSqWeqBsH34B9o hTdQ7BiF38vgO3TKSuEKWWLumm39x27TI1IJcyFAXxSDTbYJo2wUUEaBdbolQTthjAn3 9tKWksUsgtHd/TtfSVwS5gT/RJ8Yg76DJPoNg= 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=p5ilXa+GtgOw7mJvmBJKAmk3J1YE3K+i0asm3GRRW4A=; b=oxL1msoyy7op7ySKlwaaQyaktcltRi5JoK4fd4YkQxvGPCT/bsEgW0lgvICKin4v2/ RpqCMmjgTJH+KForPvBnCBE9Qa9Rb76nu84o3MWCuOhz2vaGIelpSR4bObV7cUxQ3thX 753FEjKygtLjh49zxHISyOquf/VgJzRXhCJO0zR2dZ4tdgKswszf7vDnt++P1md2KgQo oLgZEtRsUdBKKHQTelIGnDd2s1NyFTst3SrRCdV5gsRZOZjVoTuU4lZI0KroIoYezKO8 tU1GstFMyTrEpqBFxsWlXN2lS//MCGZhJq5vcueYnHuUz7JIyrnxHC5NG9hHG37Eb70+ bs/w== X-Gm-Message-State: AOAM532fDlElGFJ9ZRxrErmtkYCR5GkaLKAv1RS7izPiI/dEHqbgDKXj er59Dwnmxc5kt23CdvYoolrnNIY9fFYD4A== X-Google-Smtp-Source: ABdhPJyqNy5r/3eQyp6u4u75RVODbZBSG1+HMWvgGYzI0ZSqydMmg1clX1l3Bk9RdGq6kpEqaZbJvQ== X-Received: by 2002:aca:674a:: with SMTP id b10mr5220502oiy.66.1638460829074; Thu, 02 Dec 2021 08:00:29 -0800 (PST) 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 r22sm103459oij.36.2021.12.02.08.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 08:00:28 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Mark Kettenis <mark.kettenis@xs4all.nl>, Sean Anderson <seanga2@gmail.com>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Tom Rini <trini@konsulko.com>, =?utf-8?q?Fran=C3=A7ois_Ozog?= <francois.ozog@linaro.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>, Jerry Van Baren <vanbaren@cideas.com> Subject: [PATCH v6 21/25] fdt: Drop #ifdef around board_fdt_blob_setup() Date: Thu, 2 Dec 2021 08:59:15 -0700 Message-Id: <20211202155919.2429190-22-sjg@chromium.org> X-Mailer: git-send-email 2.34.0.rc2.393.gf8c9666880-goog In-Reply-To: <20211202155919.2429190-1-sjg@chromium.org> References: <20211202155919.2429190-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 fbdc92c0813..299a2c3a32f 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. @@ -1226,7 +1225,6 @@ __weak void *board_fdt_blob_setup(int *err) 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(-)