mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
850bea2335
After patch "of/platform: Add common method to populate default bus", it is possible for arch code to remove unnecessary callers of of_platform_populate with default match table. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Ray Jui <rjui@broadcom.com> Cc: Lee Jones <lee@kernel.org> Cc: Krzysztof Halasa <khalasa@piap.pl> Cc: Kukjin Kim <kgene@kernel.org> Cc: Rob Herring <robh@kernel.org> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Santosh Shilimkar <ssantosh@kernel.org> Cc: Roland Stigge <stigge@antcom.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> Cc: Heiko Stuebner <heiko@sntech.de> Cc: Viresh Kumar <vireshk@kernel.org> Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com> Cc: Tony Prisk <linux@prisktech.co.nz> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Rob Herring <robh@kernel.org>
52 lines
1.2 KiB
C
52 lines
1.2 KiB
C
/*
|
|
* Samsung's S3C2416 flattened device tree enabled machine
|
|
*
|
|
* Copyright (c) 2012 Heiko Stuebner <heiko@sntech.de>
|
|
*
|
|
* based on mach-exynos/mach-exynos4-dt.c
|
|
*
|
|
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
* Copyright (c) 2010-2011 Linaro Ltd.
|
|
* www.linaro.org
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <linux/clocksource.h>
|
|
#include <linux/irqchip.h>
|
|
#include <linux/serial_s3c.h>
|
|
|
|
#include <asm/mach/arch.h>
|
|
#include <mach/map.h>
|
|
|
|
#include <plat/cpu.h>
|
|
#include <plat/pm.h>
|
|
|
|
#include "common.h"
|
|
|
|
static void __init s3c2416_dt_map_io(void)
|
|
{
|
|
s3c24xx_init_io(NULL, 0);
|
|
}
|
|
|
|
static void __init s3c2416_dt_machine_init(void)
|
|
{
|
|
s3c_pm_init();
|
|
}
|
|
|
|
static const char *const s3c2416_dt_compat[] __initconst = {
|
|
"samsung,s3c2416",
|
|
"samsung,s3c2450",
|
|
NULL
|
|
};
|
|
|
|
DT_MACHINE_START(S3C2416_DT, "Samsung S3C2416 (Flattened Device Tree)")
|
|
/* Maintainer: Heiko Stuebner <heiko@sntech.de> */
|
|
.dt_compat = s3c2416_dt_compat,
|
|
.map_io = s3c2416_dt_map_io,
|
|
.init_irq = irqchip_init,
|
|
.init_machine = s3c2416_dt_machine_init,
|
|
MACHINE_END
|