From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] ARM: mx6: Remove CONFIG_ARCH_CPU_INIT
Date: Thu, 1 Mar 2012 19:31:45 +0100 [thread overview]
Message-ID: <201203011931.45311.marex@denx.de> (raw)
In-Reply-To: <1330610560-15978-2-git-send-email-fabio.estevam@freescale.com>
> No need to define CONFIG_ARCH_CPU_INIT.
>
> All mx6 based boards should use arch_cpu_init().
>
Acked-by: Marek Vasut <marex@denx.de>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> arch/arm/cpu/armv7/mx6/soc.c | 2 --
> include/configs/mx6qarm2.h | 1 -
> include/configs/mx6qsabrelite.h | 1 -
> 3 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
> index 2ac74b5..2d07099 100644
> --- a/arch/arm/cpu/armv7/mx6/soc.c
> +++ b/arch/arm/cpu/armv7/mx6/soc.c
> @@ -37,7 +37,6 @@ u32 get_cpu_rev(void)
> return system_rev;
> }
>
> -#ifdef CONFIG_ARCH_CPU_INIT
> void init_aips(void)
> {
> struct aipstz_regs *aips1, *aips2;
> @@ -77,7 +76,6 @@ int arch_cpu_init(void)
>
> return 0;
> }
> -#endif
>
> #if defined(CONFIG_FEC_MXC)
> void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
> diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
> index 0962d3c..87ff0a3 100644
> --- a/include/configs/mx6qarm2.h
> +++ b/include/configs/mx6qarm2.h
> @@ -37,7 +37,6 @@
> /* Size of malloc() pool */
> #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 *
1024)
>
> -#define CONFIG_ARCH_CPU_INIT
> #define CONFIG_BOARD_EARLY_INIT_F
> #define CONFIG_MXC_GPIO
>
> diff --git a/include/configs/mx6qsabrelite.h
> b/include/configs/mx6qsabrelite.h index 93000f0..85e6570 100644
> --- a/include/configs/mx6qsabrelite.h
> +++ b/include/configs/mx6qsabrelite.h
> @@ -37,7 +37,6 @@
> /* Size of malloc() pool */
> #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
>
> -#define CONFIG_ARCH_CPU_INIT
> #define CONFIG_BOARD_EARLY_INIT_F
> #define CONFIG_MXC_GPIO
next prev parent reply other threads:[~2012-03-01 18:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 14:02 [U-Boot] [PATCH 1/3] ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency Fabio Estevam
2012-03-01 14:02 ` [U-Boot] [PATCH 2/3] ARM: mx6: Remove CONFIG_ARCH_CPU_INIT Fabio Estevam
2012-03-01 18:31 ` Marek Vasut [this message]
2012-07-07 11:25 ` Albert ARIBAUD
2012-03-01 14:02 ` [U-Boot] [PATCH 3/3] ARM: mx28: " Fabio Estevam
2012-03-01 18:31 ` Marek Vasut
2012-07-07 11:31 ` Albert ARIBAUD
2012-07-19 17:28 ` Marek Vasut
2012-03-01 18:31 ` [U-Boot] [PATCH 1/3] ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency Marek Vasut
2012-03-01 20:51 ` Albert ARIBAUD
2012-03-01 20:57 ` Fabio Estevam
2012-03-01 21:44 ` Albert ARIBAUD
2012-03-05 17:56 ` Tom Rini
2012-03-06 7:26 ` Albert ARIBAUD
2012-03-03 10:01 ` Stefano Babic
2012-03-05 17:52 ` Tom Rini
2012-03-05 17:58 ` Fabio Estevam
2012-03-05 18:12 ` Fabio Estevam
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=201203011931.45311.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/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