From patchwork Fri Jan 5 18:17:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 123557 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1130332qgn; Fri, 5 Jan 2018 10:18:22 -0800 (PST) X-Google-Smtp-Source: ACJfBotx4uOBy7X0WQdi1Q+eUQLTz0LHMcR00gQVkLYoBrDXVOUnEaK9/+z3V8ctRaWn2m3renJk X-Received: by 10.80.140.134 with SMTP id q6mr5299432edq.291.1515176302483; Fri, 05 Jan 2018 10:18:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515176302; cv=none; d=google.com; s=arc-20160816; b=MSeqWB6zJOHcSv0SCA+b0jTAe5hPs+dIl6gSBS5xaGrBiJt8abgj86og0pf4Lz3frZ e3lv9d9jqQkCve0oiKsOtBepRn+uDWfBp8LZrxDojt96ygCfYr1ZkmZb/xNsOMdBhupu 9ROGAw5vFHjE1Vde8Qkn45bddu4jNJzvqjnhU+Hafa5Hg9hjNTqUyxroM7vf5Oc2b2oT QOguPz70ds+LQoMt580+vrt1a08qhmv9MJtOm3/e7YGspKsuN7tCuncVyB+y+QFP1a0c sznjktDvT5WxVK5Wd91bmOUpU9RVZN2CtdzrG3TSH5tyLQTagU2zD7kHSEWeCzUk1QDI u7HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=K2HRULLzN1kvuYsOyCYt9SNiG7wNUbIVTeMokJElYHw=; b=rGUxVNyvASOxyO3+ELOIUZGLOKsNeepPQ47Q38+FQiKwR9MDrjso09LxvraaODkBx7 gD+bdRII6UzTo7K5N+YRm+K6zlrPL1o7fRSVVH1j+d52hBoBP/In1+HPPpe/TPWAv9cF gPGAeofGz7J1609qgZTKHMugDJftC+fqotSHb0TRX9uxzO9RtYhO/h1BktyrqMXwAj2r JVL+aqB8EpGdMBwFWgpkVBSQ4DoFkbpcOfXwEDWcxw1TDZvOc0quilES7sblp9/wIklv ID1W979hun4mSOmyDIFx4lxNUeIexcVOvrIo3noXeFB7dz+aFUhkqXCeLLQRoVJ+g4QS WfLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=aaKLQrW3; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id c40si3415386edf.117.2018.01.05.10.18.21; Fri, 05 Jan 2018 10:18:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=aaKLQrW3; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id A9BCFC21EBA; Fri, 5 Jan 2018 18:18:21 +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.8 required=5.0 tests=T_DKIM_INVALID, UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 69270C21DE9; Fri, 5 Jan 2018 18:18:19 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0E745C21DE9; Fri, 5 Jan 2018 18:18:17 +0000 (UTC) Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by lists.denx.de (Postfix) with ESMTPS id 008BDC21DC1 for ; Fri, 5 Jan 2018 18:18:16 +0000 (UTC) Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-10.nifty.com with ESMTP id w05IHNW8007009; Sat, 6 Jan 2018 03:17:23 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w05IHNW8007009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1515176244; bh=QVl7YEeubRa1eT2eqlkR+egRgDHoBjhxMkB2FqJbkE8=; h=From:To:Cc:Subject:Date:From; b=aaKLQrW35l8i8h8FhHGqLvT/2sJ2Tpl3V25m4lWRDDh2+Q15VEYy5k42YFKo4hSXt KyL+aIx3PG56kHe6v89C/Ez/o6rM4sP8a++zzpSOVYuiZqAjCn//51P/nlB5t35KCE /y0RvOlM3Ccz/baUBarUjcqs9BfFjKay93aiPv5x6/J3KKd374Jv4ZxEJ0gBwFz99Y RK4DKJNLNEbUhcmqCeVSk/8lUTErWEjm2lxr0OBpYWVq8E5DlLzeIBGhXyOhAx46Oi SaKZN0U1W0D3lEOYNM6pX+2CAvYsRzsfAsXSHWUwRvz8QvVETVdmM3bz9eHVBoz4TD StFsFa9aqtMXg== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 6 Jan 2018 03:17:06 +0900 Message-Id: <1515176226-22173-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Chris Packham , Marek Vasut Subject: [U-Boot] [PATCH] config_whitelist: remove false-positive CONFIG options 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" U-Boot pulled in several core makefiles from Linux. The following are not used in U-Boot: - CONFIG_DEBUG_SECTION_MISMATCH - CONFIG_FTRACE_MCOUNT_RECORD - CONFIG_GCOV_KERNEL - CONFIG_GCOV_PROFILE_ALL - CONFIG_KASAN - CONFIG_MODVERSIONS We can remove the unused code if we like. (although it will get the scripts out of sync) CONFIG_BOOM and CONFIG_HIS_DRIVER are just mentioned in the comment block of scripts/basic/fixdep.c CONFIG_SHELL is not configuration, but a variable for internal-use. It is just a historical misnomer in Kbuild. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- scripts/config_whitelist.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 43a4ff0..2b07dee 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -154,7 +154,6 @@ CONFIG_BOARD_SIZE_LIMIT CONFIG_BOARD_TAURUS CONFIG_BOARD_TYPES CONFIG_BOOGER -CONFIG_BOOM CONFIG_BOOTBLOCK CONFIG_BOOTCOUNT_ALEN CONFIG_BOOTCOUNT_AM33XX @@ -387,7 +386,6 @@ CONFIG_DEBUG CONFIG_DEBUG_FS CONFIG_DEBUG_LED CONFIG_DEBUG_LOCK_ALLOC -CONFIG_DEBUG_SECTION_MISMATCH CONFIG_DEBUG_SEMIHOSTING CONFIG_DEBUG_UART_LINFLEXUART CONFIG_DEBUG_WRITECOUNT @@ -784,7 +782,6 @@ CONFIG_FTPMU010 CONFIG_FTPMU010_BASE CONFIG_FTPMU010_POWER CONFIG_FTPWM010_BASE -CONFIG_FTRACE_MCOUNT_RECORD CONFIG_FTRTC010_BASE CONFIG_FTRTC010_EXTCLK CONFIG_FTRTC010_PCLK @@ -807,8 +804,6 @@ CONFIG_FTWDT010_BASE CONFIG_FTWDT010_WATCHDOG CONFIG_FZOTG266HD0A_BASE CONFIG_GATEWAYIP -CONFIG_GCOV_KERNEL -CONFIG_GCOV_PROFILE_ALL CONFIG_GICV2 CONFIG_GICV3 CONFIG_GLOBAL_DATA_NOT_REG10 @@ -851,7 +846,6 @@ CONFIG_HETROGENOUS_CLUSTERS CONFIG_HIDE_LOGO_VERSION CONFIG_HIGH_BATS CONFIG_HIKEY_GPIO -CONFIG_HIS_DRIVER CONFIG_HITACHI_SX14 CONFIG_HOSTNAME CONFIG_HOST_MAX_DEVICES @@ -1091,7 +1085,6 @@ CONFIG_JFFS2_PART_SIZE CONFIG_JFFS2_SUMMARY CONFIG_JRSTARTR_JR0 CONFIG_JTAG_CONSOLE -CONFIG_KASAN CONFIG_KCLK_DIS CONFIG_KEEP_SERVERADDR CONFIG_KERNEL_OFFSET @@ -1373,7 +1366,6 @@ CONFIG_MMC_SPI_SPEED CONFIG_MMC_SUNXI_SLOT CONFIG_MMC_TRACE CONFIG_MMU -CONFIG_MODVERSIONS CONFIG_MONITOR_IS_IN_RAM CONFIG_MP CONFIG_MPC8308 @@ -1947,7 +1939,6 @@ CONFIG_SHARP_LM8V31 CONFIG_SHARP_LQ035Q7DH06 CONFIG_SHEEVA_88SV131 CONFIG_SHEEVA_88SV331xV5 -CONFIG_SHELL CONFIG_SHMIN CONFIG_SHOW_ACTIVITY CONFIG_SHOW_BOOT_PROGRESS