From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 5/6] ARM: hi3xxx: add board support with device tree
Date: Tue, 04 Jun 2013 17:16:36 +0200 [thread overview]
Message-ID: <1456134.qV9IZTo572@wuerfel> (raw)
In-Reply-To: <1370358317-12768-6-git-send-email-haojian.zhuang@linaro.org>
On Tuesday 04 June 2013 23:05:16 Haojian Zhuang wrote:
> +static void __init hi3xxx_timer_init(void)
> +{
> + of_clk_init(NULL);
> + clocksource_of_init();
> +}
I plan to make this the default, so maybe we will be able to get rid
of this function soon. Right now it is still needed, as we only
call clocksource_of_init() but not of_clk_init().
> +static void __init hs_init(void)
> +{
> + of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
> +}
However, this is the default already. You can remove.
> +static const char *hs_compat[] __initdata = {
> + "hisilicon,hi3620-hi4511",
> + NULL,
> +};
> +
> +DT_MACHINE_START(HI3xxx, "Hisilicon Hi36xx/Hi37xx (Flattened Device Tree)")
> + /* Maintainer: Haojian Zhuang <haojian.zhuang@linaro.org> */
> + .map_io = debug_ll_io_init,
> + .init_time = hi3xxx_timer_init,
> + .init_machine = hs_init,
> + .dt_compat = hs_compat,
> +MACHINE_END
Same for debug_ll_io_init. You can remove the map_io and init_machine lines
here.
With those gone,
Acked-by: Arnd Bergmann <arnd@arndb.de>
Arnd
next prev parent reply other threads:[~2013-06-04 15:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-04 15:05 [PATCH v2 0/6] support hi3xxx soc Haojian Zhuang
2013-06-04 15:05 ` [PATCH v2 1/6] ARM: debug: support debug ll on hisilicon soc Haojian Zhuang
2013-06-04 15:13 ` Arnd Bergmann
2013-06-04 15:05 ` [PATCH v2 2/6] clk: mux: add CLK_MUX_HIWORD_MASK Haojian Zhuang
2013-06-04 15:05 ` [PATCH v2 3/6] clk: divider: add CLK_DIVIDER_HIWORD_MASK flag Haojian Zhuang
2013-06-07 9:15 ` Linus Walleij
2013-06-07 9:30 ` Haojian Zhuang
2013-06-07 12:31 ` Heiko Stübner
2013-06-08 3:17 ` Haojian Zhuang
2013-06-08 9:20 ` Heiko Stübner
2013-06-04 15:05 ` [PATCH v2 4/6] clk: hi3xxx: add clock support Haojian Zhuang
2013-06-04 15:05 ` [PATCH v2 5/6] ARM: hi3xxx: add board support with device tree Haojian Zhuang
2013-06-04 15:16 ` Arnd Bergmann [this message]
2013-06-05 3:04 ` Haojian Zhuang
2013-06-07 10:54 ` Arnd Bergmann
2013-06-04 15:05 ` [PATCH v2 6/6] ARM: hi3xxx: enable hi4511 " Haojian Zhuang
2013-06-04 15:20 ` Arnd Bergmann
2013-06-04 15:31 ` Haojian Zhuang
2013-06-05 3:56 ` [PATCH v3 5/6] ARM: hi3xxx: add board support " Haojian Zhuang
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=1456134.qV9IZTo572@wuerfel \
--to=arnd@arndb.de \
--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