From patchwork Mon Apr 1 14:00:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1072811 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=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44XvBt4Kwtz9sPF for ; Tue, 2 Apr 2019 01:01:10 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 48E16C21EC2; Mon, 1 Apr 2019 14:01:07 +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=none 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 7CB55C21DCA; Mon, 1 Apr 2019 14:01:05 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 820DEC21DCA; Mon, 1 Apr 2019 14:01:04 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by lists.denx.de (Postfix) with ESMTPS id 2B258C21DB6 for ; Mon, 1 Apr 2019 14:01:04 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 44XvBl6rcGz1rVDn; Mon, 1 Apr 2019 16:01:03 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 44XvBl5szzz1qr61; Mon, 1 Apr 2019 16:01:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id QXZvi02sTO_W; Mon, 1 Apr 2019 16:01:01 +0200 (CEST) X-Auth-Info: fpdyu2y5PxEAqhI4N1PV+8KPDUAL5WDZorknmYn0oWw= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 1 Apr 2019 16:01:01 +0200 (CEST) From: Lukasz Majewski To: u-boot@lists.denx.de Date: Mon, 1 Apr 2019 16:00:03 +0200 Message-Id: <20190401140005.19285-1-lukma@denx.de> X-Mailer: git-send-email 2.11.0 Cc: Tom Rini Subject: [U-Boot] [PATCH] cosmetic: config: Remove empty #ifdefs 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" After running tools/moveconfig.py it turned out that for various boards there are an empty #ifdef statements. Remove them to clean u-boot source code. Signed-off-by: Lukasz Majewski --- include/configs/bg0900.h | 4 ---- include/configs/dreamplug.h | 3 --- include/configs/ds109.h | 3 --- include/configs/km/km_arm.h | 3 --- 4 files changed, 13 deletions(-) diff --git a/include/configs/bg0900.h b/include/configs/bg0900.h index 832dbbaafc..c05b06a417 100644 --- a/include/configs/bg0900.h +++ b/include/configs/bg0900.h @@ -19,10 +19,6 @@ #define CONFIG_FEC_MXC #endif -/* SPI FLASH */ -#ifdef CONFIG_CMD_SF -#endif - /* Boot Linux */ #define CONFIG_BOOTFILE "uImage" #define CONFIG_BOOTCOMMAND "bootm" diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h index 28bda14c3d..f7f9141dd0 100644 --- a/include/configs/dreamplug.h +++ b/include/configs/dreamplug.h @@ -34,9 +34,6 @@ #define CONFIG_ENV_SECT_SIZE 0x10000 /* 64k */ #endif -#ifdef CONFIG_CMD_SF -#endif - /* * max 4k env size is enough, but in case of nand * it has to be rounded to sector size diff --git a/include/configs/ds109.h b/include/configs/ds109.h index 07367cfef0..31abb4bc85 100644 --- a/include/configs/ds109.h +++ b/include/configs/ds109.h @@ -37,9 +37,6 @@ #define CONFIG_ENV_SECT_SIZE 0x10000 /* 64k */ #endif -#ifdef CONFIG_CMD_SF -#endif - /* * max 4k env size is enough, but in case of nand * it has to be rounded to sector size diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index a2e9cf1fa5..8a00ac015a 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -34,9 +34,6 @@ /* SPI NOR Flash default params, used by sf commands */ -#if defined CONFIG_KM_ENV_IS_IN_SPI_NOR -#endif - /* Reserve 4 MB for malloc */ #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)