From patchwork Thu Sep 17 06:52:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Heider X-Patchwork-Id: 1365901 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Cp3MSmVD; 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 4BsSMP68dSz9sTQ for ; Thu, 17 Sep 2020 16:52:33 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CCD2182361; Thu, 17 Sep 2020 08:52:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Cp3MSmVD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E872D82364; Thu, 17 Sep 2020 08:52:10 +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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (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 923338233D for ; Thu, 17 Sep 2020 08:52:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=a.heider@gmail.com Received: by mail-ed1-x541.google.com with SMTP id b12so1228648edz.11 for ; Wed, 16 Sep 2020 23:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jYjUdR0Nwq4rwese97W0w2Zr8/EdzBrIGPt1rlYGJs8=; b=Cp3MSmVDtpkxRI5FeoLgX6g6R/xLR0gwdJjfKmNpgevRU4Bq+KTxfntcp/VtbMHMs6 8CRYbyVO+sXsTHN/4AAqnlSEAMU5cMoAiXwu/5BL1jcRVmJD2ehERKl0ZYsFUF9i9mhh 4CC0Ptcj9wKhD4Gsuf3WwMzpXHtsRo3Eb3Fg+WKOjGOqx0TvYeULMGprhlLDqSZGKlFS G5IDvhZo1LFP/ZNiyjBwv0l+z//gPwHTc1Jlw9WN6Xq3Oq7dJIJY79JYsNB+5f0iC3nP +VpO5FkuwoEOxRwxu+qzGyvvrnkCo6ngoUUD3WjhvTKYK1pKeAvuXTVDftBqbLAyUtbM wxdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jYjUdR0Nwq4rwese97W0w2Zr8/EdzBrIGPt1rlYGJs8=; b=n8xMO2ojo2b14RI/sZCU9XoNAHMQOo61kJe4YiRMuT6nZFVwdQNm6E181CSHYJWKBY 3npyIz2x1PPpGQoRCWGSCBW1lTb31DUbg1fHbNN3fzSwO3GBWmFxhRR0eVb+R4yPhdYn K/P3JiS0igd4kaPr70LAkoJxHgHe21hBUirE2Q1y6idgjgtf9E90YI/H62/RiN6z2koP fC25jo25eginrWUUXYO92OaUKetlMwl9slgeOrZZYD0vGH91NjbZeWYAm8X0Bj9Tr1AI znZKSqMnwlo3fHtt/52Hb9fRC57G2O/Iox/ctq2DJH6SZwGPI3lQbX5tddrt29qw00+M cQpw== X-Gm-Message-State: AOAM531xlLbo3CxdG5xvszas2i0Ba1nNt0Judzrle+zos/nQE9DSj+1b ymhY2Rq0lwHerQQUaF4VCOY= X-Google-Smtp-Source: ABdhPJznp+gtCfAc4fY1RiU78Qyde/+XEsq4JhjHqxcY75EavrdQJs3LzcJzdxbvw7dOwgh7R3UmcQ== X-Received: by 2002:a05:6402:346:: with SMTP id r6mr32180269edw.301.1600325525184; Wed, 16 Sep 2020 23:52:05 -0700 (PDT) Received: from mamamia.internal (a89-183-72-244.net-htp.de. [89.183.72.244]) by smtp.gmail.com with ESMTPSA id g25sm15593879edu.53.2020.09.16.23.52.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 23:52:04 -0700 (PDT) From: Andre Heider To: Minkyu Kang , Krzysztof Kozlowski , Jaehoon Chung , Lukasz Majewski , Chander Kashyap , Akshay Saraswat , Robert Baldyga , Simon Glass Cc: u-boot@lists.denx.de Subject: [PATCH 1/4] treewide: configs: get rid of unused CONFIG_DEFAULT_CONSOLE Date: Thu, 17 Sep 2020 08:52:00 +0200 Message-Id: <20200917065203.40607-1-a.heider@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean These are all unused. Signed-off-by: Andre Heider Acked-by: Krzysztof Kozlowski Reviewed-by: Simon Glass --- This sets completely removes CONFIG_DEFAULT_CONSOLE from the tree. Only compile time tested. include/configs/arndale.h | 2 -- include/configs/espresso7420.h | 3 --- include/configs/origen.h | 5 ----- include/configs/peach-pi.h | 3 --- include/configs/peach-pit.h | 3 --- include/configs/smdk5250.h | 2 -- include/configs/smdk5420.h | 5 ----- include/configs/smdkv310.h | 2 -- include/configs/snow.h | 2 -- include/configs/spring.h | 2 -- 10 files changed, 29 deletions(-) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index 79e7418b9b..5109f7de53 100644 --- a/include/configs/arndale.h +++ b/include/configs/arndale.h @@ -18,8 +18,6 @@ #define CONFIG_EXYNOS_SPL /* Miscellaneous configurable options */ -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0" - #define CONFIG_IRAM_STACK 0x02050000 #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK diff --git a/include/configs/espresso7420.h b/include/configs/espresso7420.h index 5aeb009f03..2495db93f8 100644 --- a/include/configs/espresso7420.h +++ b/include/configs/espresso7420.h @@ -18,9 +18,6 @@ #define CONFIG_SPL_STACK CONFIG_IRAM_END #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_END -/* select serial console configuration */ -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" - /* DRAM Memory Banks */ #define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */ diff --git a/include/configs/origen.h b/include/configs/origen.h index 24b0338deb..8a0e145c76 100644 --- a/include/configs/origen.h +++ b/include/configs/origen.h @@ -24,11 +24,6 @@ #define CONFIG_MACH_TYPE MACH_TYPE_ORIGEN -/* select serial console configuration */ - -/* Console configuration */ -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" - #define CONFIG_SYS_MEM_TOP_HIDE (1 << 20) /* ram console */ #define CONFIG_SYS_MONITOR_BASE 0x00000000 diff --git a/include/configs/peach-pi.h b/include/configs/peach-pi.h index a732e06a99..ba82aaf653 100644 --- a/include/configs/peach-pi.h +++ b/include/configs/peach-pi.h @@ -23,9 +23,6 @@ #define CONFIG_SYS_SDRAM_BASE 0x20000000 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_IRAM_TOP - 0x800) -/* select serial console configuration */ -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" - /* Display */ #ifdef CONFIG_LCD #define CONFIG_EXYNOS_FB diff --git a/include/configs/peach-pit.h b/include/configs/peach-pit.h index 6c5960cb8d..16fb2f3a0e 100644 --- a/include/configs/peach-pit.h +++ b/include/configs/peach-pit.h @@ -23,9 +23,6 @@ #define CONFIG_SYS_SDRAM_BASE 0x20000000 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_IRAM_TOP - 0x800) -/* select serial console configuration */ -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" - /* DRAM Memory Banks */ #define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */ diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h index 82251b3615..3af13673f2 100644 --- a/include/configs/smdk5250.h +++ b/include/configs/smdk5250.h @@ -18,6 +18,4 @@ #define CONFIG_BOARD_COMMON -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" - #endif /* __CONFIG_SMDK_H */ diff --git a/include/configs/smdk5420.h b/include/configs/smdk5420.h index 14ec099d53..d06dfe43a2 100644 --- a/include/configs/smdk5420.h +++ b/include/configs/smdk5420.h @@ -24,11 +24,6 @@ #define CONFIG_SYS_SDRAM_BASE 0x20000000 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_IRAM_TOP - 0x800) -/* select serial console configuration */ -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" - -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" - /* USB */ #define CONFIG_USB_XHCI_EXYNOS diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h index b970e4bc80..ede057322f 100644 --- a/include/configs/smdkv310.h +++ b/include/configs/smdkv310.h @@ -36,8 +36,6 @@ #define CONFIG_BOOTCOMMAND "fatload mmc 0 40007000 uImage; bootm 40007000" -/* Miscellaneous configurable options */ -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0" /* memtest works on */ #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x3E00000) diff --git a/include/configs/snow.h b/include/configs/snow.h index c546a5a6d0..c082b2d82d 100644 --- a/include/configs/snow.h +++ b/include/configs/snow.h @@ -17,6 +17,4 @@ #define CONFIG_BOARD_COMMON -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" - #endif /* __CONFIG_SNOW_H */ diff --git a/include/configs/spring.h b/include/configs/spring.h index 272622a5ed..0b052453a5 100644 --- a/include/configs/spring.h +++ b/include/configs/spring.h @@ -12,6 +12,4 @@ #define CONFIG_BOARD_COMMON -#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0" - #endif /* __CONFIG_SPRING_H */