From patchwork Thu Feb 4 02:24:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435764 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMnr5Nh7z9sf9 for ; Thu, 4 Feb 2021 13:24:39 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B9A5182737; Thu, 4 Feb 2021 03:24:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 992EC82737; Thu, 4 Feb 2021 03:24:27 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) (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 EB875826E8 for ; Thu, 4 Feb 2021 03:24:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f46.google.com with SMTP id r13so1047861qvm.11 for ; Wed, 03 Feb 2021 18:24:24 -0800 (PST) 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; bh=OHZay6jpTbyqVfoLMP02DBw2gbFnl9Px/X6RomCscWA=; b=ekU/j0y5bSpnbRbuEdOZfQs7p+yiQXf+eTgWapWE5qufB5c3gNxogbDEdWMG34E/Ww dkQvsaRfh/bPfR5JlIHCj6mL5gu5dceCr6tPywcmSsytl6JUJv4tFaCD4PV5rDn3Unf0 lZV00EBv1AE8pohDn3YW2OblQJyu2g98jBycKcFLr8vHbz/NEa0TzWrSCREvTqHUSLEb rbh7QPas949JInSTfy9HQ9ncMJVrKTjCIgaikSc6rEFw1ZU/yfJiOXu54VFEIOQxBl06 T2Oi9HZd49UdzgoRVjYGmeT/MXr+M4FAJgwyp5IFIqRNW2Vh/LzRGmPB4i9euA8S7hgX 9hcQ== X-Gm-Message-State: AOAM533BDqUyZF8oM5FguAppj69kcqCt8BidfVWi3CRHUHjPVSNUFZRM xeW+jIRpim258ugga5lMGROTc0PjDQ== X-Google-Smtp-Source: ABdhPJzDyyTszlv7jklUtIIbMQE3+uWiXPXpe+Aq4JIIVVBteCQN0boo4hfXNH9WGKji4CEaN3Wb8A== X-Received: by 2002:a05:6214:1393:: with SMTP id g19mr5615434qvz.31.1612405463351; Wed, 03 Feb 2021 18:24:23 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:22 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Stefan Bosch Subject: [PATCH 01/13] arm: nanopi2: Remove unused code Date: Wed, 3 Feb 2021 21:24:03 -0500 Message-Id: <20210204022415.20589-1-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 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 This platform did not ever enable CONFIG_REVISION_TAG, so the code to set the board_rev environment variable was never enabled. This particular symbol is also only for use with the REVISION ATAG and this platform is new enough to have never supported an ATAG-based Linux Kernel. Cc: Stefan Bosch Signed-off-by: Tom Rini Signed-off-by: Stefan Bosch Reviewed-by: Tom Rini --- I'd be happy to see this patch replaced by one that enables what I think you meant to be doing and by default. Thanks! --- board/friendlyarm/nanopi2/board.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/board/friendlyarm/nanopi2/board.c b/board/friendlyarm/nanopi2/board.c index 68980536abe9..6e546853b863 100644 --- a/board/friendlyarm/nanopi2/board.c +++ b/board/friendlyarm/nanopi2/board.c @@ -294,16 +294,6 @@ static void set_ether_addr(void) env_set("ethaddr", ethaddr); } -#ifdef CONFIG_REVISION_TAG -static void set_board_rev(void) -{ - char info[64] = {0, }; - - snprintf(info, ARRAY_SIZE(info), "%02x", get_board_rev()); - env_set("board_rev", info); -} -#endif - static void set_dtb_name(void) { char info[64] = {0, }; @@ -435,9 +425,6 @@ int board_late_init(void) { bd_update_env(); -#ifdef CONFIG_REVISION_TAG - set_board_rev(); -#endif set_dtb_name(); set_ether_addr(); From patchwork Thu Feb 4 02:24:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435763 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMnr3rqsz9sX3 for ; Thu, 4 Feb 2021 13:24:46 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 184F482757; Thu, 4 Feb 2021 03:24:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 42C848273E; Thu, 4 Feb 2021 03:24:29 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (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 1DB4382713 for ; Thu, 4 Feb 2021 03:24:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qk1-f180.google.com with SMTP id a7so1938436qkb.13 for ; Wed, 03 Feb 2021 18:24:26 -0800 (PST) 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:in-reply-to :references; bh=8JcEp/KqrKyTac03Bj7+uH9fx9UmbS35Xw6Vdu6PdRo=; b=Jtnk8c/frfzgy6h3jE9r5PilUxASZ7aYhGNnXwZ2GPxR4YEUWvjxMyJx3h3sHtJPVX ytj9IwSRvu8SxY/B+KYrgwdwElmaJf/Jx6viD9sjhOEw1X4nleO+MZV3avxyYN9aDNYN pJZmMaHkLJ/qucG+D5/KRf9SRu3voNZeZnOWrI2qf47u2YbyVrlnlOYREk4OHYdg9QNg aRKFKn6Uzs0YyHOjc2dVOsd6WhLayoqz1gDKtAWI7iVhPyPpn+TLpw2bcWvP2C4i/gsQ 1VBgpsvuD8wo8jy+dPpZB2qwbcW7MMbGQf8Kbsyb9sVC75DnNgqMdm+nvdx+NNwz7zh+ sYHQ== X-Gm-Message-State: AOAM530XU3sXqkQ/Zjv4/7HHMOCJJJoP6VAgeJVWTugbK+dhB4L3KXXX Q7DKF8TbBUOfKUx22OuJ4Xbb2/08cA== X-Google-Smtp-Source: ABdhPJwypIxKlVkYrJQJJ5wi9F4X6apmt3exxX65RPEVoStrB3un2pDVYUoAXUzcXui0qCTCD04ydw== X-Received: by 2002:a37:dd5:: with SMTP id 204mr5719485qkn.42.1612405464612; Wed, 03 Feb 2021 18:24:24 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:23 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" Subject: [PATCH 02/13] arm: imx: Remove unused CONFIG_xxx_TAG support Date: Wed, 3 Feb 2021 21:24:04 -0500 Message-Id: <20210204022415.20589-2-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 The i.MX8 family has never possibly supported ATAGs so we can remove CONFIG_SERIAL_TAG support from that family. Furthermore, the i.MX7 family is new enough to have never supported ATAGs so remove and disable those options as well. Cc: Stefano Babic Cc: Fabio Estevam Cc: NXP i.MX U-Boot Team Signed-off-by: Tom Rini --- While I strongly suspect i.MX5 and older have board-file based Linux kernel support, I don't know where i.MX6 falls. Especially if you consider non-Linux OSes, so I didn't remove that. But I would like to know if we can also delete this code from there, or not. Thanks! --- arch/arm/mach-imx/imx8/cpu.c | 31 ------------------------- arch/arm/mach-imx/mx7/soc.c | 41 ---------------------------------- arch/arm/mach-imx/mx7ulp/soc.c | 7 ------ include/configs/mx7ulp_com.h | 4 ---- include/configs/mx7ulp_evk.h | 5 ----- include/configs/warp7.h | 3 --- 6 files changed, 91 deletions(-) diff --git a/arch/arm/mach-imx/imx8/cpu.c b/arch/arm/mach-imx/imx8/cpu.c index 911d6a51d1e4..31fbe63496bf 100644 --- a/arch/arm/mach-imx/imx8/cpu.c +++ b/arch/arm/mach-imx/imx8/cpu.c @@ -171,37 +171,6 @@ enum boot_device get_boot_device(void) return boot_dev; } -#ifdef CONFIG_SERIAL_TAG -#define FUSE_UNIQUE_ID_WORD0 16 -#define FUSE_UNIQUE_ID_WORD1 17 -void get_board_serial(struct tag_serialnr *serialnr) -{ - sc_err_t err; - u32 val1 = 0, val2 = 0; - u32 word1, word2; - - if (!serialnr) - return; - - word1 = FUSE_UNIQUE_ID_WORD0; - word2 = FUSE_UNIQUE_ID_WORD1; - - err = sc_misc_otp_fuse_read(-1, word1, &val1); - if (err != SC_ERR_NONE) { - printf("%s fuse %d read error: %d\n", __func__, word1, err); - return; - } - - err = sc_misc_otp_fuse_read(-1, word2, &val2); - if (err != SC_ERR_NONE) { - printf("%s fuse %d read error: %d\n", __func__, word2, err); - return; - } - serialnr->low = val1; - serialnr->high = val2; -} -#endif /*CONFIG_SERIAL_TAG*/ - #ifdef CONFIG_ENV_IS_IN_MMC __weak int board_mmc_get_env_dev(int devno) { diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c index fda25ba66a36..2601ae8ce9c9 100644 --- a/arch/arm/mach-imx/mx7/soc.c +++ b/arch/arm/mach-imx/mx7/soc.c @@ -161,13 +161,6 @@ u32 get_cpu_rev(void) return (type << 12) | reg; } -#ifdef CONFIG_REVISION_TAG -u32 __weak get_board_rev(void) -{ - return get_cpu_rev(); -} -#endif - static void imx_enet_mdio_fixup(void) { struct iomuxc_gpr_base_regs *gpr_regs = @@ -351,40 +344,6 @@ int arch_misc_init(void) } #endif -#ifdef CONFIG_SERIAL_TAG -/* - * OCOTP_TESTER - * i.MX 7Solo Applications Processor Reference Manual, Rev. 0.1, 08/2016 - * OCOTP_TESTER describes a unique ID based on silicon wafer - * and die X/Y position - * - * OCOTOP_TESTER offset 0x410 - * 31:0 fuse 0 - * FSL-wide unique, encoded LOT ID STD II/SJC CHALLENGE/ Unique ID - * - * OCOTP_TESTER1 offset 0x420 - * 31:24 fuse 1 - * The X-coordinate of the die location on the wafer/SJC CHALLENGE/ Unique ID - * 23:16 fuse 1 - * The Y-coordinate of the die location on the wafer/SJC CHALLENGE/ Unique ID - * 15:11 fuse 1 - * The wafer number of the wafer on which the device was fabricated/SJC - * CHALLENGE/ Unique ID - * 10:0 fuse 1 - * FSL-wide unique, encoded LOT ID STD II/SJC CHALLENGE/ Unique ID - */ -void get_board_serial(struct tag_serialnr *serialnr) -{ - struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; - struct fuse_bank *bank = &ocotp->bank[0]; - struct fuse_bank0_regs *fuse = - (struct fuse_bank0_regs *)bank->fuse_regs; - - serialnr->low = fuse->tester0; - serialnr->high = fuse->tester1; -} -#endif - void set_wdog_reset(struct wdog_regs *wdog) { u32 reg = readw(&wdog->wcr); diff --git a/arch/arm/mach-imx/mx7ulp/soc.c b/arch/arm/mach-imx/mx7ulp/soc.c index 8dd6b4d40e77..c0e7c399bfc4 100644 --- a/arch/arm/mach-imx/mx7ulp/soc.c +++ b/arch/arm/mach-imx/mx7ulp/soc.c @@ -49,13 +49,6 @@ u32 get_cpu_rev(void) return (MXC_CPU_MX7ULP << 12) | (rom_version & 0xFF); } -#ifdef CONFIG_REVISION_TAG -u32 __weak get_board_rev(void) -{ - return get_cpu_rev(); -} -#endif - enum bt_mode get_boot_mode(void) { u32 bt0_cfg = 0; diff --git a/include/configs/mx7ulp_com.h b/include/configs/mx7ulp_com.h index 28672c4f94c4..7ac445d02cd0 100644 --- a/include/configs/mx7ulp_com.h +++ b/include/configs/mx7ulp_com.h @@ -32,10 +32,6 @@ #define CONFIG_SYS_HZ_CLOCK 1000000 /* Fixed at 1MHz from TSTMR */ -#define CONFIG_INITRD_TAG -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS - /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (8 * SZ_1M) diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h index 0c3103082cc8..78b41c789808 100644 --- a/include/configs/mx7ulp_evk.h +++ b/include/configs/mx7ulp_evk.h @@ -22,11 +22,6 @@ #define CONFIG_SYS_HZ_CLOCK 1000000 /* Fixed at 1Mhz from TSTMR */ -#define CONFIG_INITRD_TAG -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -/*#define CONFIG_REVISION_TAG*/ - /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (8 * SZ_1M) diff --git a/include/configs/warp7.h b/include/configs/warp7.h index 8eb106027440..3ab42ffc2d48 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -21,9 +21,6 @@ #define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE #define CONFIG_SYS_MMC_IMG_LOAD_PART 1 -/* Switch on SERIAL_TAG */ -#define CONFIG_SERIAL_TAG - #define CONFIG_DFU_ENV_SETTINGS \ "dfu_alt_info=boot raw 0x2 0x1000 mmcpart 1\0" \ From patchwork Thu Feb 4 02:24:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435765 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMp21bBWz9sX3 for ; Thu, 4 Feb 2021 13:24:58 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BBCC182767; Thu, 4 Feb 2021 03:24:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id B667582757; Thu, 4 Feb 2021 03:24:30 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (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 9A0B0826E8 for ; Thu, 4 Feb 2021 03:24:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qk1-f182.google.com with SMTP id k193so1980149qke.6 for ; Wed, 03 Feb 2021 18:24:27 -0800 (PST) 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:in-reply-to :references; bh=SAzQ75s9mjDH/U97L7jej6kO2SIn2YBMwAKH3ffwgQw=; b=YZDjSBiPx3OJnuKu5Acnj8eQMGkXrwGAvR0SSQEXa+kmOAI03uBu4D4m0DFYfjKiGW evSJMy2OTkKXwwDn6e2qHU1Y8DukzGo050Vk+bO+ONn89P7a6Pvdh9scawifLs8BJSAN xtTPG06sneVZK6ov7xyIltZHMPZMQtxF4F3Nwgj4evvW919Ydgwd9Xu12xXnzwXrmfri CjIAcWbjhFO30vxQewCGEp4pGwoWQhhoDcfVsEHHI9/eMkUiCV09oggPcegut/468tBt worKkKaw/xcS36thVsu1pjrOBTw9beDMLVQnMkrYESrkfiDoM98MGhySDCRxefqh8npT qpEQ== X-Gm-Message-State: AOAM531GpQpsG47+53hAv0zFa8ph58fIV3QgCCgNiLVy7YjUAtvdtVxU nkOe3Dttff/B2Y7BGJmKYGmFsV9ZIw== X-Google-Smtp-Source: ABdhPJxzoriFaKDUM1RE4pyfQASaEwmhPukQj0nI5G9FA1zQg5HWShhz6Lv5u9/RpF2/9RT9SWVzcQ== X-Received: by 2002:a37:a5d1:: with SMTP id o200mr5658388qke.126.1612405466151; Wed, 03 Feb 2021 18:24:26 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:25 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Alison Wang , Feng Li , Mingkai Hu , Rajesh Bhagat , Sumit Garg Subject: [PATCH 03/13] arm: layerscape: Disable ATAG support on some platforms Date: Wed, 3 Feb 2021 21:24:05 -0500 Message-Id: <20210204022415.20589-3-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 The layerscape platforms are new enough to have never supported ATAGs, so disable that support. Cc: Alison Wang Cc: Feng Li Cc: Mingkai Hu Cc: Rajesh Bhagat Cc: Sumit Garg Signed-off-by: Tom Rini --- include/configs/ls1021aiot.h | 2 -- include/configs/ls1021aqds.h | 2 -- include/configs/ls1021atwr.h | 2 -- include/configs/ls1043aqds.h | 6 ------ include/configs/ls1046aqds.h | 2 -- 5 files changed, 14 deletions(-) diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h index cf4d60ad6032..cf49cc1c10c5 100644 --- a/include/configs/ls1021aiot.h +++ b/include/configs/ls1021aiot.h @@ -175,8 +175,6 @@ #define CONFIG_PCI_SCAN_SHOW #endif -#define CONFIG_CMDLINE_TAG - #define CONFIG_PEN_ADDR_BIG_ENDIAN #define CONFIG_LAYERSCAPE_NS_ACCESS #define CONFIG_SMP_PEN_ADDR 0x01ee0200 diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index eb6f1c1e5be6..26b8f8710c6c 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -422,8 +422,6 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_PCI_SCAN_SHOW #endif -#define CONFIG_CMDLINE_TAG - #define CONFIG_PEN_ADDR_BIG_ENDIAN #define CONFIG_LAYERSCAPE_NS_ACCESS #define CONFIG_SMP_PEN_ADDR 0x01ee0200 diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index 3e85bb3850b7..dd088500b08b 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -260,8 +260,6 @@ #define CONFIG_PCI_SCAN_SHOW #endif -#define CONFIG_CMDLINE_TAG - #define CONFIG_PEN_ADDR_BIG_ENDIAN #define CONFIG_LAYERSCAPE_NS_ACCESS #define CONFIG_SMP_PEN_ADDR 0x01ee0200 diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 1636f0bb8ff0..f2addaca6019 100644 --- a/include/configs/ls1043aqds.h +++ b/include/configs/ls1043aqds.h @@ -391,12 +391,6 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE /* start of monitor */ #endif -/* - * Environment - */ - -#define CONFIG_CMDLINE_TAG - #include #endif /* __LS1043AQDS_H__ */ diff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h index 9102c812b5bc..06e54db8d834 100644 --- a/include/configs/ls1046aqds.h +++ b/include/configs/ls1046aqds.h @@ -410,8 +410,6 @@ unsigned long get_board_ddr_clk(void); * Environment */ -#define CONFIG_CMDLINE_TAG - #undef CONFIG_BOOTCOMMAND #ifdef CONFIG_TFABOOT #define IFC_NAND_BOOTCOMMAND "run distro_bootcmd; run nand_bootcmd; " \ From patchwork Thu Feb 4 02:24:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435766 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMpD4wbFz9sf9 for ; Thu, 4 Feb 2021 13:25:08 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ACF5782797; Thu, 4 Feb 2021 03:24:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id D750C82730; Thu, 4 Feb 2021 03:24:31 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) (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 B84A782730 for ; Thu, 4 Feb 2021 03:24:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f46.google.com with SMTP id r13so1047912qvm.11 for ; Wed, 03 Feb 2021 18:24:28 -0800 (PST) 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:in-reply-to :references; bh=bCiZHCvyiF0YZ4RzxcKozUUgxeWXZeyA/G4wzPICvig=; b=Utpooiite/FvwhJeWi5iVY7WGN7uDSDxoW3fRuRJC9rvgYf25Iy0KMiTrNTVCDBWL3 QW0rqoCeZj1yGlY0BlplsVU8vamlXGFrOggjBXqnLpH4Uk0MWURvVAvCqT4+YYLONZwd 05XUjxLMHpeyGQX0cMP44Zq0yhB2qKRiZJOh5FVy/Oy76f+7d7iDnSvyxRnpG4pdok6T 5iLFMELHA5wACv1tf99U1+2IiNjgjfHaP4qmWpQ2MwNiyP5Dw63akpZVaaITzCAaePVj wbLkJ+gevxhIeBM5bF3wtFJ/C7l98npMqqP8lp9b58LSnbIN7ETU3Wick7VQHgx7fUHp ZaNg== X-Gm-Message-State: AOAM5327xtXQq2oNtYW4gMQea50w5N7DNKfc/mou1QzvBFCCjeSquNuV d1qwSMSo+dXIVbUOtXlIk5TusbFMwg== X-Google-Smtp-Source: ABdhPJwvZkNnaApSQsZpH7zczqNa1QCbsAdi6AQk3YKIk2iD3j+7kI5qIbKg4n9eOQXO7Gf3Ps8h9Q== X-Received: by 2002:a05:6214:32e:: with SMTP id j14mr5780740qvu.13.1612405467341; Wed, 03 Feb 2021 18:24:27 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:26 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Thomas Fitzsimmons Subject: [PATCH 04/13] bcmstb: Disable ATAGs support Date: Wed, 3 Feb 2021 21:24:06 -0500 Message-Id: <20210204022415.20589-4-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 This platform never supported ATAG-based Linux kernels, so disable. Cc: Thomas Fitzsimmons Signed-off-by: Tom Rini --- I am assuming, please correct me if wrong. --- board/broadcom/bcmstb/bcmstb.c | 5 ----- include/configs/bcmstb.h | 6 ------ 2 files changed, 11 deletions(-) diff --git a/board/broadcom/bcmstb/bcmstb.c b/board/broadcom/bcmstb/bcmstb.c index add4285db31d..efdc9c46dc84 100644 --- a/board/broadcom/bcmstb/bcmstb.c +++ b/board/broadcom/bcmstb/bcmstb.c @@ -37,11 +37,6 @@ int board_init(void) return 0; } -u32 get_board_rev(void) -{ - return 0; -} - void reset_cpu(ulong ignored) { } diff --git a/include/configs/bcmstb.h b/include/configs/bcmstb.h index 2660d18f35a9..5dbef0e17f6a 100644 --- a/include/configs/bcmstb.h +++ b/include/configs/bcmstb.h @@ -117,12 +117,6 @@ extern phys_addr_t prior_stage_fdt_address; */ #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, \ 115200} - -/* - * Informational display configuration. - */ -#define CONFIG_REVISION_TAG - /* * Command configuration. */ From patchwork Thu Feb 4 02:24:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435768 X-Patchwork-Delegate: trini@ti.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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) 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 ozlabs.org (Postfix) with ESMTPS id 4DWMpS2Hlvz9sX3 for ; Thu, 4 Feb 2021 13:25:20 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E836B82777; Thu, 4 Feb 2021 03:24:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 3C4F08276D; Thu, 4 Feb 2021 03:24:33 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) (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 423C682753 for ; Thu, 4 Feb 2021 03:24:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f46.google.com with SMTP id j13so1055443qvu.10 for ; Wed, 03 Feb 2021 18:24:30 -0800 (PST) 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:in-reply-to :references; bh=LCoumDu/8rWaut5aG1KFgtrmaB3dMNjpC1+jxVRJpSI=; b=FuGDlu3fkSofL38/Gy30vbtkG9D5/PmngHKYBNd1u3tSdFmW0mJp68tSjwCN0EyfPP 87VrG8SfkWtpmfYnzbVsgfTD8UJySiwM13quoCU2+BHF5rwEccU7ZBvrdNWlIfn2khu4 DRU6bvqRsAqbOwe7z42MJn7TTnv10ibHaRJoz9fJdG8wYpO62Gdgeb31lPpJ2C3IiQJx MehmICuEe9Xla0celptdkd2QaFrvpuqPKawH93NKVjREcG5nLTbqaQuA/PA5v6J7IrSr jHuMrs1bBPw0GRWOTPa0kRcaWu64zFCLNy2nDCoT/Ynm34auYHX5586Pce7uNB8SfzA4 S3Gw== X-Gm-Message-State: AOAM530NPEZEBu8i84PpWlHPgqtAfKf1cwHAWcz0NO1b8GelVXDsgn4g pwVawL5PfIRWPyN8GE+DiXOqQXbOwA== X-Google-Smtp-Source: ABdhPJyt/S4ik5EwHSpkNDwagPokR1JWiSD/iasIud1rASlrXhFpoyLQb+tWHx7psp2eQQp7P3zifw== X-Received: by 2002:ad4:4349:: with SMTP id q9mr5610800qvs.23.1612405468791; Wed, 03 Feb 2021 18:24:28 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:28 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Philipp Tomsich , Klaus Goger Subject: [PATCH 05/13] arm: puma_rk3399: Disable ATAGs support Date: Wed, 3 Feb 2021 21:24:07 -0500 Message-Id: <20210204022415.20589-5-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 This platform never supported an ATAGs-based Linux kernel, so remove. Cc: Philipp Tomsich Cc: Klaus Goger Signed-off-by: Tom Rini --- I'm assuming, please correct me if I'm wrong. --- .../theobroma-systems/puma_rk3399/puma-rk3399.c | 16 ---------------- include/configs/puma_rk3399.h | 2 -- 2 files changed, 18 deletions(-) diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-systems/puma_rk3399/puma-rk3399.c index deeba3084a80..3237a6aa2e1e 100644 --- a/board/theobroma-systems/puma_rk3399/puma-rk3399.c +++ b/board/theobroma-systems/puma_rk3399/puma-rk3399.c @@ -136,19 +136,3 @@ int misc_init_r(void) return 0; } - -#ifdef CONFIG_SERIAL_TAG -void get_board_serial(struct tag_serialnr *serialnr) -{ - char *serial_string; - u64 serial = 0; - - serial_string = env_get("serial#"); - - if (serial_string) - serial = simple_strtoull(serial_string, NULL, 16); - - serialnr->high = (u32)(serial >> 32); - serialnr->low = (u32)(serial & 0xffffffff); -} -#endif diff --git a/include/configs/puma_rk3399.h b/include/configs/puma_rk3399.h index f52ea014b5d6..23de326e7208 100644 --- a/include/configs/puma_rk3399.h +++ b/include/configs/puma_rk3399.h @@ -10,6 +10,4 @@ #define SDRAM_BANK_SIZE (2UL << 30) -#define CONFIG_SERIAL_TAG - #endif From patchwork Thu Feb 4 02:24:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435769 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMpd55H9z9sX3 for ; Thu, 4 Feb 2021 13:25:29 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3D2018276D; Thu, 4 Feb 2021 03:24:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 7065082730; Thu, 4 Feb 2021 03:24:36 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) (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 3722082730 for ; Thu, 4 Feb 2021 03:24:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f46.google.com with SMTP id j13so1055465qvu.10 for ; Wed, 03 Feb 2021 18:24:32 -0800 (PST) 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:in-reply-to :references; bh=2SrOi/RhhnFM+LlCt6uT5qQMFri2ccMZJKsTpPep7CA=; b=NkhHjAPoaf8CubKU3DfJTvvEBSEq7dQLWgXxmvR5/AA5ajInowKeYm0dn+Je0D0LC/ crK9mzm3Ech+8WB4pKoPGprL5ru1r/vewezQUArHeuTi8feNJbrJFhEiB8mYuN1imbYo WHthOglVhS6dGgTPkNKjL/R5bCS+uFAnVKWLxKMSPTCMDhqvGD5SuxSIjWls2/ebOYQ5 k2S32NSlyZFNALNGOdgPCZdcFmsmu+qkfGVqtUkJDaVWC2lNJqduCwZ+acXMhLtkF/Ep 9e46bTVEdysplOzBQWYPnhZBfVwcCPEin8kToYb/WKyvL+iWAmt2ppyJpnkt5i/J/gn9 IK+Q== X-Gm-Message-State: AOAM533x1TSWzeSxqY/ldQ0wc3gSNVAMUXjmnkcG8Lb7J16NX9blJtd/ B4oH/hMNak6Uhe9v3/YfPKVRlCexYg== X-Google-Smtp-Source: ABdhPJz08zxlGZsRWUylhdZyt//OGT4caB6IOcYbKzl1sMQ/MP6gUchlYXGMIGB48kcp8ePqIXB5QQ== X-Received: by 2002:ad4:4e8a:: with SMTP id dy10mr5638229qvb.36.1612405470749; Wed, 03 Feb 2021 18:24:30 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:29 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Robert Baldyga Subject: [PATCH 06/13] arm: goni: Disable CONFIG_REVISION_TAG Date: Wed, 3 Feb 2021 21:24:08 -0500 Message-Id: <20210204022415.20589-6-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 Rather than provide an empty revision tag here, remove the code to generate an empty one and disable the feature. Cc: Robert Baldyga Signed-off-by: Tom Rini --- I do not know if this platform ever had to support an ATAG-based Linux kernel and if not, there is more cleanup that could be done here. --- board/samsung/goni/goni.c | 5 ----- include/configs/s5p_goni.h | 1 - 2 files changed, 6 deletions(-) diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index 2f0ef22c4171..d13347c93ff5 100644 --- a/board/samsung/goni/goni.c +++ b/board/samsung/goni/goni.c @@ -23,11 +23,6 @@ DECLARE_GLOBAL_DATA_PTR; -u32 get_board_rev(void) -{ - return 0; -} - int board_init(void) { /* Set Initial global variables */ diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index 9688bdc4c035..ca9edaa43855 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -28,7 +28,6 @@ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_CMDLINE_TAG -#define CONFIG_REVISION_TAG #define CONFIG_INITRD_TAG /* Size of malloc() pool before and after relocation */ From patchwork Thu Feb 4 02:24:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435770 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMpr0f5qz9sX3 for ; Thu, 4 Feb 2021 13:25:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C44AA827D9; Thu, 4 Feb 2021 03:24:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 050F4827B7; Thu, 4 Feb 2021 03:24:37 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (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 C824582777 for ; Thu, 4 Feb 2021 03:24:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f170.google.com with SMTP id e11so1390399qtg.6 for ; Wed, 03 Feb 2021 18:24:33 -0800 (PST) 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:in-reply-to :references; bh=iN5YofcVodZKZDpUDfx2JkmPrWy/5qAhRbpFvXXdjGI=; b=O7DcAfxsukmSwwLiMmEUfBzzlwbK1go22y7+Tmqz5p4U3AdVUBk3A4XudKUhQ9lyiS UEoLZm2wsP0mqyR+VyKS+qbCjscfUGlawb5m+xQExGzFkcCbNGlWGZVHCV6lnCb7Y9F7 tK/Oudh03PvCpgfoHwO6KafaXnuv8A9F7zdiWi66N9qqgTf0wpz1f1aOOGcCvIXzH8rx LFTBLecAOacrMaSgcrPmpZ1j2NIiDovIrWEH4saDcpS9pDX9aX22P46hNOHFAJTZJzuQ LoB6igRrrLbv+af1j6q2YttRq/FXkoNOjIvx+Oj01GWgka/CsZb4BCGLK6qANIKJGAU+ ByHA== X-Gm-Message-State: AOAM531YhtARsD54xO6aXz6N6AVDmJO44DmdpuiGROikhBXHrmQVDxFs hPlzL9433hf8kjGxNfg++hbfXPZGWQ== X-Google-Smtp-Source: ABdhPJz3dSd4ZbluO7NeZy4FGceukHYwtfrFmb1mFyT8IoRCohvDqthJN5GQ8R10kV5guzE4lRW3hQ== X-Received: by 2002:ac8:e82:: with SMTP id v2mr5290975qti.164.1612405472218; Wed, 03 Feb 2021 18:24:32 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:31 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Ryan Chen , Chia-Wei Wang , Aspeed BMC SW team Subject: [PATCH 07/13] arm: aspeed: Disable ATAGs support Date: Wed, 3 Feb 2021 21:24:09 -0500 Message-Id: <20210204022415.20589-7-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 This platform never had to support an ATAGs-based Linux kernel, so remove the support for it. Cc: Ryan Chen Cc: Chia-Wei Wang Cc: Aspeed BMC SW team Signed-off-by: Tom Rini Tested-by: Chia-Wei Wang --- I'm assuming, please correct me if I'm wrong. --- include/configs/aspeed-common.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/configs/aspeed-common.h b/include/configs/aspeed-common.h index df0f5d2e76f7..8d666c6ed415 100644 --- a/include/configs/aspeed-common.h +++ b/include/configs/aspeed-common.h @@ -12,11 +12,6 @@ #include -/* Misc CPU related */ -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG - #define CONFIG_SYS_SDRAM_BASE ASPEED_DRAM_BASE #ifdef CONFIG_PRE_CON_BUF_SZ From patchwork Thu Feb 4 02:24:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435772 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMq41KsDz9sX3 for ; Thu, 4 Feb 2021 13:25:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 80F7F827EF; Thu, 4 Feb 2021 03:24:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id E398D827C5; Thu, 4 Feb 2021 03:24:37 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) (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 E599C82792 for ; Thu, 4 Feb 2021 03:24:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f42.google.com with SMTP id j13so1055500qvu.10 for ; Wed, 03 Feb 2021 18:24:34 -0800 (PST) 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:in-reply-to :references; bh=08dfFd7GCBSVODzAGCFqbBPhWLRLIZFRTIT8tf+zguw=; b=VVMVxWZVuB34DfMv4s4/zOIIQOGVnhCDAoWWGjm4hgJLzVg1emcdyz8bdxwhrgMDCp Hj8p9NpoMpRjdz2QcEDpJgqoFl5r6xnFyv1BTl94Uo90G9z8pWUvAG64zVG/SWTZ9/nJ Eza9tL9Z6fMaIlD8huX1dEGjaY/2sK3zgwdnIZ9mM9MlkbISu9YnExcHF2obd4eO/dWP vLVDudIyArkQgNVRq5C2a0buCuVASOczU6s0cKj47TQSWYn0q4N2GZPwsBDJk+fkg/74 /iUK5ZX9iihoOuJjmXaE+qj52bS0pruQ4l/7TFk48HIzrV3BH46Wk0FPpYkKB9yrm0CJ O3mQ== X-Gm-Message-State: AOAM530W9DVpkoSDV7EgMIYUgut4M5YwHeWeWAvXh2i95uog+BSX2E/c 1zpA7etmCwubXjA1TJhHgWdH9+mwBQ== X-Google-Smtp-Source: ABdhPJzMWdLMVjBJRLklc9zw8LjMBgIyLX186W3ODw00V6dtAsLQ2VfYElRIUz5WDdQnDFg0Yr5iAw== X-Received: by 2002:a05:6214:14f4:: with SMTP id k20mr5764487qvw.27.1612405473485; Wed, 03 Feb 2021 18:24:33 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:32 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Ryder Lee , Weijie Gao Subject: [PATCH 08/13] arm: mediatek: Disable ATAGs support Date: Wed, 3 Feb 2021 21:24:10 -0500 Message-Id: <20210204022415.20589-8-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 platforms never had to support an ATAGs-based Linux Kernel, so remove the options. Cc: Ryder Lee Cc: Weijie Gao Signed-off-by: Tom Rini --- I'm assuming, please correct me if I'm wrong. --- include/configs/mt7623.h | 4 ---- include/configs/mt7629.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/include/configs/mt7623.h b/include/configs/mt7623.h index 9895279749db..613e96e49235 100644 --- a/include/configs/mt7623.h +++ b/include/configs/mt7623.h @@ -12,10 +12,6 @@ #include /* Miscellaneous configurable options */ -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG -#define CONFIG_CMDLINE_TAG - #define CONFIG_SYS_MAXARGS 8 #define CONFIG_SYS_BOOTM_LEN SZ_64M #define CONFIG_SYS_CBSIZE SZ_1K diff --git a/include/configs/mt7629.h b/include/configs/mt7629.h index 08a4d01f5524..af9a5bbb6f19 100644 --- a/include/configs/mt7629.h +++ b/include/configs/mt7629.h @@ -12,10 +12,6 @@ #include /* Miscellaneous configurable options */ -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG -#define CONFIG_CMDLINE_TAG - #define CONFIG_SYS_MAXARGS 8 #define CONFIG_SYS_BOOTM_LEN SZ_64M #define CONFIG_SYS_CBSIZE SZ_1K From patchwork Thu Feb 4 02:24:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435775 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMqf70yKz9sf9 for ; Thu, 4 Feb 2021 13:26:22 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 618C08280C; Thu, 4 Feb 2021 03:24:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id EEC73827BC; Thu, 4 Feb 2021 03:24:44 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (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 49B48827B8 for ; Thu, 4 Feb 2021 03:24:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f182.google.com with SMTP id d15so1360035qtw.12 for ; Wed, 03 Feb 2021 18:24:36 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=nsW7bvT+5EuaaTCXQK9p+ZC/5k5PgMyVvN+BXfpVJCw=; b=RmguzgB7lC3iswXsr/sgzDcDxct67Y4S3ElelJeltHdUthHfDbmSYXJ7UL68DFlpXs TW9RYkyDmwNMoU9HCBhUZrj5KU1g3E0dFzyt6TopL0wTyGA2avpXpbRcFjzcAANSPjIK s/ZjQTNyaO5GRkRlw3XYuuDq9h6zaWM9GTvihHHWJ5Utq4UZMBsz+ozOGDkPtm9Z7lC/ 2zY/0YDBwrp86wUudMNkM6NtTrZ+GLqkUgTtJkO8iKFSwJZ7LINuhoGi1Om7iMwEBXpD ftA5ld6CYdxqgxC0kfpR2paz8X7oZQ/+eL4l1ycb398qcCUPMO3u4kdhOj6ff684IA39 /v5Q== X-Gm-Message-State: AOAM5334lCSnAlaatUpxQrfokfW9HMr0m0Vp/eFw+qtafpK00FrNS/wT jTyRr53ddbb+EjvdPvwiUoftxGJT4A== X-Google-Smtp-Source: ABdhPJyATc3PEMndugQFZaPBwI2Ou2lqS10vNR2R6f6lxs29s/JChK9dsoIYs51HyjzKS2S990qc6w== X-Received: by 2002:ac8:4e53:: with SMTP id e19mr5478693qtw.77.1612405474721; Wed, 03 Feb 2021 18:24:34 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:33 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Stefan Roese , =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH 09/13] arm: mvebu: Disable ATAGs support on some platforms Date: Wed, 3 Feb 2021 21:24:11 -0500 Message-Id: <20210204022415.20589-9-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 platforms never had to support an ATAGs-based Linux Kernel, so remove the options. Cc: Stefan Roese Cc: Marek Behún Signed-off-by: Tom Rini Reviewed-by: Stefan Roese --- I'm assuming, please correct me if I'm wrong. --- include/configs/mvebu_armada-37xx.h | 9 --------- include/configs/mvebu_armada-8k.h | 9 --------- include/configs/turris_mox.h | 9 --------- 3 files changed, 27 deletions(-) diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h index 0d585606a73a..84772d9fa075 100644 --- a/include/configs/mvebu_armada-37xx.h +++ b/include/configs/mvebu_armada-37xx.h @@ -20,15 +20,6 @@ #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ 115200, 230400, 460800, 921600 } -/* - * For booting Linux, the board info and command line data - * have to be in the first 8 MB of memory, since this is - * the maximum mapped by the Linux kernel during initialization. - */ -#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ -#define CONFIG_INITRD_TAG /* enable INITRD tag */ -#define CONFIG_SETUP_MEMORY_TAGS /* enable memory tag */ - #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buff Size */ /* diff --git a/include/configs/mvebu_armada-8k.h b/include/configs/mvebu_armada-8k.h index 38f50468c543..fc42cfd1fb07 100644 --- a/include/configs/mvebu_armada-8k.h +++ b/include/configs/mvebu_armada-8k.h @@ -19,15 +19,6 @@ #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ 115200, 230400, 460800, 921600 } -/* - * For booting Linux, the board info and command line data - * have to be in the first 8 MB of memory, since this is - * the maximum mapped by the Linux kernel during initialization. - */ -#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ -#define CONFIG_INITRD_TAG /* enable INITRD tag */ -#define CONFIG_SETUP_MEMORY_TAGS /* enable memory tag */ - #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buff Size */ /* diff --git a/include/configs/turris_mox.h b/include/configs/turris_mox.h index 51445ec60ae1..721a78b9baa4 100644 --- a/include/configs/turris_mox.h +++ b/include/configs/turris_mox.h @@ -25,15 +25,6 @@ #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ 115200, 230400, 460800, 921600 } -/* - * For booting Linux, the board info and command line data - * have to be in the first 8 MB of memory, since this is - * the maximum mapped by the Linux kernel during initialization. - */ -#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ -#define CONFIG_INITRD_TAG /* enable INITRD tag */ -#define CONFIG_SETUP_MEMORY_TAGS /* enable memory tag */ - #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buff Size */ /* From patchwork Thu Feb 4 02:24:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435774 X-Patchwork-Delegate: trini@ti.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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) 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 ozlabs.org (Postfix) with ESMTPS id 4DWMqS3rywz9sX3 for ; Thu, 4 Feb 2021 13:26:12 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E0554827FE; Thu, 4 Feb 2021 03:24:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 8EA91827D5; Thu, 4 Feb 2021 03:24:44 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (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 A61E6827B1 for ; Thu, 4 Feb 2021 03:24:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f172.google.com with SMTP id z22so1388956qto.7 for ; Wed, 03 Feb 2021 18:24:37 -0800 (PST) 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:in-reply-to :references; bh=VgxfzIUqwLgNlxRAx3J3GQU+F4jH0mkhaI6vGycvZ80=; b=XNpqO6L1EkoJNWl+O7L5oUM5nraFOZcBiP00XF2uRvzEER3PNz+t1TxC3xplNH5PCw QcAHAyYnOBcR0e8nzuI1B23DFyfZ1V7l86KM0Pt5prvR3mT4kWSMjXcUKrV7p0hpR5X6 hN6v1Me7j538e/PkkJCoto7I7e0pxhMyuazKSx/CP9FP4vQw7+BoeKKD79sgCA3XGhWF xONawUmIOVXahFHYRN2WhcpsPnHG0ow7deZ92KAubEXI2a/iM+XDNtFAnEIHZuB1G4jj HAXQ8P281b1YmFZ75Rlq3SnBoTBMpHMjTkBw1lxxxjcC7AFUe91GfouYXEybNWfhVhdy eAAA== X-Gm-Message-State: AOAM533asZZflhfy2im+iUOMFCLAiW3zV/KBzpx5uBydUotxj5cU3jyU GYQLhHmLy0mSiOVX9bo5uutJNshe/Q== X-Google-Smtp-Source: ABdhPJyQeKU1nsFS8f8BFJl8jBxQrXP66rVvWo2RfzXLsGcxPLcuP0k4t/2uxw3KJt+DiGiv3WBwkg== X-Received: by 2002:ac8:5490:: with SMTP id h16mr5365898qtq.378.1612405476281; Wed, 03 Feb 2021 18:24:36 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:35 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Marek Vasut Subject: [PATCH 10/13] arm: rcar2/3: Disable ATAGs support Date: Wed, 3 Feb 2021 21:24:12 -0500 Message-Id: <20210204022415.20589-10-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 platforms never had to support an ATAGs-based Linux Kernel, so remove the options. Cc: Marek Vasut Signed-off-by: Tom Rini --- I'm assuming, please correct me if I'm wrong. --- include/configs/grpeach.h | 1 - include/configs/rcar-gen2-common.h | 4 ---- include/configs/rcar-gen3-common.h | 6 ------ 3 files changed, 11 deletions(-) diff --git a/include/configs/grpeach.h b/include/configs/grpeach.h index 4d5eab09f09b..3087cab44c04 100644 --- a/include/configs/grpeach.h +++ b/include/configs/grpeach.h @@ -13,7 +13,6 @@ /* Miscellaneous */ #define CONFIG_SYS_PBSIZE 256 -#define CONFIG_CMDLINE_TAG /* Internal RAM Size (RZ/A1=3M, RZ/A1M=5M, RZ/A1H=10M) */ #define CONFIG_SYS_SDRAM_BASE 0x20000000 diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h index f94e9d89799f..6634fe4d3cd9 100644 --- a/include/configs/rcar-gen2-common.h +++ b/include/configs/rcar-gen2-common.h @@ -10,10 +10,6 @@ #include -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG - #ifdef CONFIG_SPL #define CONFIG_SPL_TARGET "spl/u-boot-spl.srec" #endif diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h index b9762f5bebbd..34f3005f97cb 100644 --- a/include/configs/rcar-gen3-common.h +++ b/include/configs/rcar-gen3-common.h @@ -17,12 +17,6 @@ #define CONFIG_SPL_TARGET "spl/u-boot-spl.scif" #endif -/* boot option */ - -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG - /* Generic Interrupt Controller Definitions */ #define CONFIG_GICV2 #define GICD_BASE 0xF1010000 From patchwork Thu Feb 4 02:24:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435779 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMr153k2z9sX3 for ; Thu, 4 Feb 2021 13:26:41 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E400F82792; Thu, 4 Feb 2021 03:24:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id BDBF9827BC; Thu, 4 Feb 2021 03:24:46 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) (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 EA882827C5 for ; Thu, 4 Feb 2021 03:24:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f171.google.com with SMTP id t17so1412503qtq.2 for ; Wed, 03 Feb 2021 18:24:38 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=zZJEa37+wtGul0SeeyjSBLWn9ULASiCQdIC7te656+s=; b=EpptwHq40k6geh9XcGIo8Vr6MHMmVJ7+NrXJnH0hyN1LXE+i9IPRK5gvHvyaGb3B9q 1h+HlxcTwqowxg8Kjq/WVC8bP4Daek2sMZg5Cr5UuWp2AzrMQYLWRMisQMAqna/T99qD P+B4N2NwvGN+ScGatb+2Ug8jrEbkfE7pDNoU9xbJ9GN408AHCeWSqe/eiLqhbJnc2nSw pJ6xo5Yj4tRZMolo/d9f47dmnGfdyUoKR6u0lKrNbvsJxTIbrJZ/aXV/XoTYgmpj2gqc ri3ibtCL0OTtVXHN3xFCFjtU0kjOvBMusNmzYYOOqZt15/WDD2weG9Pf2LXygAlrTycI foew== X-Gm-Message-State: AOAM532CP2Vv1/0FWlFfAKcPYSLAKaP5PyQxrPwBtYOiH5Hn/sym5S4W GzCbVAX2hz4Gcfh4S2iZ4LAnijOiAg== X-Google-Smtp-Source: ABdhPJw8J0Jr8Vzyht22waL5/3KIwaf2PRpIDgAcjMSLoLACVFx4rAbXYvHpZ5U2mBwmRPTmo/1s1w== X-Received: by 2002:ac8:7304:: with SMTP id x4mr5446072qto.338.1612405477524; Wed, 03 Feb 2021 18:24:37 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:36 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: =?utf-8?q?Eddy_Petri=C8=99or?= Subject: [PATCH 11/13] arm: s32v234: Disable ATAGs support Date: Wed, 3 Feb 2021 21:24:13 -0500 Message-Id: <20210204022415.20589-11-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 platforms never had to support an ATAGs-based Linux Kernel, so remove the options. Cc: Eddy Petrișor Signed-off-by: Tom Rini --- I'm assuming, please correct me if I'm wrong. --- include/configs/s32v234evb.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/s32v234evb.h b/include/configs/s32v234evb.h index 275d92eff783..b6fba3191584 100644 --- a/include/configs/s32v234evb.h +++ b/include/configs/s32v234evb.h @@ -34,9 +34,6 @@ #define CONFIG_SKIP_LOWLEVEL_INIT -/* Enable passing of ATAGs */ -#define CONFIG_CMDLINE_TAG - /* SMP Spin Table Definitions */ #define CPU_RELEASE_ADDR (CONFIG_SYS_SDRAM_BASE + 0x7fff0) From patchwork Thu Feb 4 02:24:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435773 X-Patchwork-Delegate: trini@ti.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=) 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 4DWMqG3WdLz9sX3 for ; Thu, 4 Feb 2021 13:26:02 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 401D3827C1; Thu, 4 Feb 2021 03:24:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id E1458827A8; Thu, 4 Feb 2021 03:24:42 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (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 679FE8274C for ; Thu, 4 Feb 2021 03:24:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f179.google.com with SMTP id z32so1382856qtd.8 for ; Wed, 03 Feb 2021 18:24:40 -0800 (PST) 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:in-reply-to :references; bh=mOU+MkXgbwImTQrURo1x0a9IzQ0ilx0hsGdeAGt98LM=; b=FEwaqRXFSCf+KYRUxBYG2gS78xgu0PS4Snyjb1X8uCc4/QU3vAzyrZQGrAdgS1ODH2 kVlc4rSGh19buwtTwcSUDXgEl7ssBbIF1ddzgIlk6nXtGj5m4XHx63dwPHast/Uo+vZP xtkgq7U047CfsOFqe3zGUNry0hnGiwCellHTu96ErjV85ce/VJL0EFmSN7/T3WhE7Ihm ux/DOkwdAZdUD3cQnMSoDXM1OcrkT/V6zBZHZWUZ2KoDbT1USh8Scal0FmUOMS2krRHB xHdWfA+af/vrpNYcuxQXr7CHJZQPmN6Rxv33HPEpyokd8P16A+lpvvNVZnABGKl7GzIy fGIQ== X-Gm-Message-State: AOAM531tOMxt9KohQE+7oOr4id2ulRSk/Fm6+KEzyU+mLpX1yv+jjUtn i8wgj3CdmeEaM+aGm8e71FWEKG4Wpg== X-Google-Smtp-Source: ABdhPJxFPWFa6TFHf8C7lSLosAG5p3QpkZuD4Tqb9xOiYWiqautd1RNSN1dm83+1AifAS21KbYCIkw== X-Received: by 2002:aed:3103:: with SMTP id 3mr5338301qtg.120.1612405479013; Wed, 03 Feb 2021 18:24:39 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:38 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Holger Brunck Subject: [PATCH 12/13] arm: socfpga: arria5_secu1: Disable ATAGs support Date: Wed, 3 Feb 2021 21:24:14 -0500 Message-Id: <20210204022415.20589-12-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 platforms never had to support an ATAGs-based Linux Kernel, so remove the options. Cc: Holger Brunck Signed-off-by: Tom Rini Reviewed-By: Holger Brunck --- I'm assuming, please correct me if I'm wrong. --- include/configs/socfpga_arria5_secu1.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/socfpga_arria5_secu1.h b/include/configs/socfpga_arria5_secu1.h index c25d6bd82be2..90d4bb55a3f1 100644 --- a/include/configs/socfpga_arria5_secu1.h +++ b/include/configs/socfpga_arria5_secu1.h @@ -43,7 +43,6 @@ "setenv altbootcmd 'setenv bootnum b && saveenv && boot;' && " \ "saveenv && saveenv && boot;" -#define CONFIG_CMDLINE_TAG #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Environment settings */ From patchwork Thu Feb 4 02:24:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1435776 X-Patchwork-Delegate: trini@ti.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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) 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 ozlabs.org (Postfix) with ESMTPS id 4DWMqq3jMjz9sf9 for ; Thu, 4 Feb 2021 13:26:31 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CB2F08281E; Thu, 4 Feb 2021 03:24:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 4CF34827C1; Thu, 4 Feb 2021 03:24:45 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (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 EFA7882361 for ; Thu, 4 Feb 2021 03:24:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qk1-f178.google.com with SMTP id 19so2004066qkh.3 for ; Wed, 03 Feb 2021 18:24:41 -0800 (PST) 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:in-reply-to :references; bh=cjHNpdT6YO/1ymtuiam212EcZYx66wGhoHmfnInyMPE=; b=EkRFuVnPntVWqhFSD5d/V4Hu0MkkgLiDksE3/s8bjZGQB0nlXTx2AKoySsBbBjw4Bj luVnNDPUC26JUxL6af4dcEs6jBJrp3lSGyJ8g9GtY1WTrkTGcVFfyobHxDxZP15I/29e 1v9W1oTuJ6Y47EKCwBD5v83O0THN/kCpwMAZcKde+m8dfxnQhBWI4ikfybIGOTQFBkp+ 3vGl7jzw4OQuEpsvyFFD20Jat3MRJGCwNSSHCWNLKotPzRRsRYr6cvx1drLKj2H63sA2 RN1uU7B7csmP3SPvW8TdPu1eZLsiOxb21U2zeLk8qKZZnaY6Eo4kkSCapOLKwERUYyNm GgXw== X-Gm-Message-State: AOAM533U6Zj8hQbWxVnRvafoy2IlGAW3LAKwi34JRN8PHKGmiYqKm/sQ LjdAyAJM8d3k7lsdkt8yC7vM+1kCxg== X-Google-Smtp-Source: ABdhPJwnnjl5dqJyPdjehWPsc0+/Ut/z8h5RyN4hY+B+eUemVBVYKTkwZNrYTlokUGMusU0Tn7bQwA== X-Received: by 2002:a37:4b52:: with SMTP id y79mr5636685qka.132.1612405480431; Wed, 03 Feb 2021 18:24:40 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b07-927a-baca-3aff-fe98-1abb.res6.spectrum.com. [2603:6081:7b07:927a:baca:3aff:fe98:1abb]) by smtp.gmail.com with ESMTPSA id p23sm3608830qtu.4.2021.02.03.18.24.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 18:24:39 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Kamil Lulko , Patrick Delaunay , Patrice Chotard , Vikas Manocha , Marek Vasut Subject: [PATCH 13/13] arm: stm32: Disable ATAGs support Date: Wed, 3 Feb 2021 21:24:15 -0500 Message-Id: <20210204022415.20589-13-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> 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 platforms never had to support an ATAGs-based Linux Kernel, so remove the options. Cc: Kamil Lulko Cc: Patrick Delaunay Cc: Patrice Chotard Cc: Vikas Manocha Cc: Marek Vasut Signed-off-by: Tom Rini Reviewed-by: Patrick Delaunay --- I'm assuming, please correct me if I'm wrong. --- include/configs/stm32f429-discovery.h | 5 ----- include/configs/stm32f429-evaluation.h | 5 ----- include/configs/stm32f469-discovery.h | 5 ----- include/configs/stm32f746-disco.h | 5 ----- include/configs/stm32h743-disco.h | 5 ----- include/configs/stm32h743-eval.h | 5 ----- include/configs/stm32mp1.h | 5 ----- 7 files changed, 35 deletions(-) diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h index 9d029fbcc6f0..dbbce494759f 100644 --- a/include/configs/stm32f429-discovery.h +++ b/include/configs/stm32f429-discovery.h @@ -27,11 +27,6 @@ #define CONFIG_SYS_HZ_CLOCK 1000000 /* Timer is clocked at 1MHz */ -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG -#define CONFIG_REVISION_TAG - #define CONFIG_SYS_CBSIZE 1024 #define CONFIG_SYS_MALLOC_LEN (2 << 20) diff --git a/include/configs/stm32f429-evaluation.h b/include/configs/stm32f429-evaluation.h index fefdb2dd1525..29a41e80676a 100644 --- a/include/configs/stm32f429-evaluation.h +++ b/include/configs/stm32f429-evaluation.h @@ -29,11 +29,6 @@ #define CONFIG_SYS_HZ_CLOCK 1000000 /* Timer is clocked at 1MHz */ -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG -#define CONFIG_REVISION_TAG - #define CONFIG_SYS_CBSIZE 1024 #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) diff --git a/include/configs/stm32f469-discovery.h b/include/configs/stm32f469-discovery.h index ba9f05a61b40..b9b932c65107 100644 --- a/include/configs/stm32f469-discovery.h +++ b/include/configs/stm32f469-discovery.h @@ -29,11 +29,6 @@ #define CONFIG_SYS_HZ_CLOCK 1000000 /* Timer is clocked at 1MHz */ -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG -#define CONFIG_REVISION_TAG - #define CONFIG_SYS_CBSIZE 1024 #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h index 08d050adfa51..b72b989c2c21 100644 --- a/include/configs/stm32f746-disco.h +++ b/include/configs/stm32f746-disco.h @@ -36,11 +36,6 @@ #define CONFIG_SYS_HZ_CLOCK 1000000 /* Timer is clocked at 1MHz */ -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG -#define CONFIG_REVISION_TAG - #define CONFIG_SYS_CBSIZE 1024 #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) diff --git a/include/configs/stm32h743-disco.h b/include/configs/stm32h743-disco.h index 6e10dbdfe945..e5bb08eec719 100644 --- a/include/configs/stm32h743-disco.h +++ b/include/configs/stm32h743-disco.h @@ -24,11 +24,6 @@ #define CONFIG_SYS_HZ_CLOCK 1000000 -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG -#define CONFIG_REVISION_TAG - #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) diff --git a/include/configs/stm32h743-eval.h b/include/configs/stm32h743-eval.h index 268d39c7ad6a..89169f85d5ba 100644 --- a/include/configs/stm32h743-eval.h +++ b/include/configs/stm32h743-eval.h @@ -24,11 +24,6 @@ #define CONFIG_SYS_HZ_CLOCK 1000000 -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG -#define CONFIG_REVISION_TAG - #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h index 863b652ca4f7..e2e8a5d1a325 100644 --- a/include/configs/stm32mp1.h +++ b/include/configs/stm32mp1.h @@ -33,11 +33,6 @@ #define CONFIG_LOADADDR 0xc2000000 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR -/* ATAGs */ -#define CONFIG_CMDLINE_TAG -#define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_INITRD_TAG - /* * For booting Linux, use the first 256 MB of memory, since this is * the maximum mapped by the Linux kernel during initialization.