public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Alex G." <mr.nuke.me@gmail.com>
To: Patrick Delaunay <patrick.delaunay@foss.st.com>, u-boot@lists.denx.de
Cc: Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>,
	Jean-Philippe ROMAIN <jean-philippe.romain@st.com>,
	Patrice Chotard <patrice.chotard@foss.st.com>,
	Simon Glass <sjg@chromium.org>,
	U-Boot STM32 <uboot-stm32@st-md-mailman.stormreply.com>,
	dillon min <dillon.minfei@gmail.com>
Subject: Re: [PATCH 1/2] arm: stm32: Disable ATAGs support
Date: Fri, 3 Sep 2021 09:50:11 -0500	[thread overview]
Message-ID: <6bd9dc07-e23b-1bfa-9520-0d7b00db06c1@gmail.com> (raw)
In-Reply-To: <20210902120202.1.If7ddbb0eecde3d5db357ef27cb0833abbdacd362@changeid>



On 9/2/21 5:02 AM, Patrick Delaunay wrote:
> These platforms never had to support an ATAGs-based Linux Kernel, so
> remove the options.
> 
> Cc: Marek Vasut <marex@denx.de>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>

Slowly, but surely, configs/*.h will grow to zero.

> ---
> Hi,
> 
> this patch is a rebased version of the STM32 part [1] of Tom's patchset [2].
> 
> I also update the new file include/configs/stm32h750-art-pi.h
> 
> [1] [13/13] arm: stm32: Disable ATAGs support
> https://patchwork.ozlabs.org/project/uboot/patch/20210204022415.20589-13-trini@konsulko.com/
> 
> [2] arm: nanopi2: Remove unused code
>      https://patchwork.ozlabs.org/project/uboot/list/?series=227910&state=*
> 
> Patrick
> 
> 
>   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/stm32h750-art-pi.h     | 5 -----
>   include/configs/stm32mp1.h             | 5 -----
>   8 files changed, 40 deletions(-)
> 
> diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
> index 9d029fbcc6..dbbce49475 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 fefdb2dd15..29a41e8067 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 ba9f05a61b..b9b932c651 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 08d050adfa..b72b989c2c 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 6e10dbdfe9..e5bb08eec7 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 268d39c7ad..89169f85d5 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/stm32h750-art-pi.h b/include/configs/stm32h750-art-pi.h
> index 3fd5461167..a9006e224a 100644
> --- a/include/configs/stm32h750-art-pi.h
> +++ b/include/configs/stm32h750-art-pi.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 b372838be8..fb4e4fb0bc 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.
> 

  parent reply	other threads:[~2021-09-03 14:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-02 10:02 [PATCH 1/2] arm: stm32: Disable ATAGs support Patrick Delaunay
2021-09-02 10:02 ` [PATCH 2/2] board: stm32: Remove the bi_boot_params initialization Patrick Delaunay
2021-09-02 12:53   ` Patrice CHOTARD
2021-09-03 14:51   ` Alex G.
2021-09-02 12:52 ` [PATCH 1/2] arm: stm32: Disable ATAGs support Patrice CHOTARD
2021-09-02 13:12 ` Tom Rini
2021-09-03  8:28   ` Patrick DELAUNAY
2021-09-03 14:50 ` Alex G. [this message]
2021-10-08  6:18 ` Patrice CHOTARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6bd9dc07-e23b-1bfa-9520-0d7b00db06c1@gmail.com \
    --to=mr.nuke.me@gmail.com \
    --cc=dillon.minfei@gmail.com \
    --cc=jean-philippe.romain@st.com \
    --cc=marex@denx.de \
    --cc=patrice.chotard@foss.st.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox