From: grinberg@compulab.co.il (Igor Grinberg)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: OMAP: Introduce SoC specific early_init
Date: Wed, 24 Aug 2011 15:48:00 +0300 [thread overview]
Message-ID: <4E54F300.308@compulab.co.il> (raw)
In-Reply-To: <20110824115436.2985.14338.stgit@kaulin>
Hi Tony,
On 08/24/11 14:54, Tony Lindgren wrote:
> Introduce them for each omap variant and just make them all call
> omap2_init_common_infrastructure for now. Do this for each board-*.c
> file except for board-generic and board-omap3beagle as they use
> the same machine ID for multiple SoCs.
>
> No functional changes.
>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
[...]
> --- a/arch/arm/mach-omap2/board-cm-t35.c
> +++ b/arch/arm/mach-omap2/board-cm-t35.c
> @@ -471,11 +471,6 @@ static void __init cm_t35_init_i2c(void)
> omap3_pmic_init("tps65930", &cm_t35_twldata);
> }
>
> -static void __init cm_t35_init_early(void)
> -{
> - omap2_init_common_infrastructure();
> -}
> -
> #ifdef CONFIG_OMAP_MUX
> static struct omap_board_mux board_mux[] __initdata = {
> /* nCS and IRQ for CM-T35 ethernet */
> @@ -637,7 +632,7 @@ MACHINE_START(CM_T35, "Compulab CM-T35")
> .boot_params = 0x80000100,
> .reserve = omap_reserve,
> .map_io = omap3_map_io,
> - .init_early = cm_t35_init_early,
> + .init_early = omap35xx_init_early,
> .init_irq = omap3_init_irq,
> .init_machine = cm_t35_init,
> .timer = &omap3_timer,
> @@ -647,7 +642,7 @@ MACHINE_START(CM_T3730, "Compulab CM-T3730")
> .boot_params = 0x80000100,
> .reserve = omap_reserve,
> .map_io = omap3_map_io,
> - .init_early = cm_t35_init_early,
> + .init_early = am35xx_init_early,
Although this does not meter with the current implementation,
but for the sake of completeness, this should be omap3630_init_early.
--
Regards,
Igor.
next prev parent reply other threads:[~2011-08-24 12:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-24 11:54 [PATCH 0/3] omap cleanup for makefile and init_early Tony Lindgren
2011-08-24 11:54 ` [PATCH 1/3] omap2+: Use Kconfig symbol in Makefile instead of obj-y Tony Lindgren
2011-08-24 11:54 ` [PATCH 2/3] ARM: OMAP: Move omap2_init_common_devices out of init_early Tony Lindgren
2011-08-24 12:11 ` Cousson, Benoit
2011-08-24 12:18 ` Santosh
2011-08-24 12:20 ` Tony Lindgren
2011-08-24 13:32 ` Tony Lindgren
2011-08-24 11:54 ` [PATCH 3/3] ARM: OMAP: Introduce SoC specific early_init Tony Lindgren
2011-08-24 12:48 ` Igor Grinberg [this message]
2011-08-24 13:35 ` Tony Lindgren
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=4E54F300.308@compulab.co.il \
--to=grinberg@compulab.co.il \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).