exynos.c (8dc0a56529f5d60bbb927049d48245b1a7989bf8) exynos.c (af9971144dde808338919cb4f3849ea2ac60739f)
1/*
2 * SAMSUNG EXYNOS Flattened Device Tree enabled machine
3 *
4 * Copyright (c) 2010-2014 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 220 unchanged lines hidden (view full) ---

229 /*
230 * This is called from smp_prepare_cpus if we've built for SMP, but
231 * we still need to set it up for PM and firmware ops if not.
232 */
233 if (!IS_ENABLED(CONFIG_SMP))
234 exynos_sysram_init();
235
236#if defined(CONFIG_SMP) && defined(CONFIG_ARM_EXYNOS_CPUIDLE)
1/*
2 * SAMSUNG EXYNOS Flattened Device Tree enabled machine
3 *
4 * Copyright (c) 2010-2014 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 220 unchanged lines hidden (view full) ---

229 /*
230 * This is called from smp_prepare_cpus if we've built for SMP, but
231 * we still need to set it up for PM and firmware ops if not.
232 */
233 if (!IS_ENABLED(CONFIG_SMP))
234 exynos_sysram_init();
235
236#if defined(CONFIG_SMP) && defined(CONFIG_ARM_EXYNOS_CPUIDLE)
237 if (of_machine_is_compatible("samsung,exynos4210"))
237 if (of_machine_is_compatible("samsung,exynos4210") ||
238 of_machine_is_compatible("samsung,exynos3250"))
238 exynos_cpuidle.dev.platform_data = &cpuidle_coupled_exynos_data;
239#endif
240 if (of_machine_is_compatible("samsung,exynos4210") ||
241 of_machine_is_compatible("samsung,exynos4212") ||
242 (of_machine_is_compatible("samsung,exynos4412") &&
243 of_machine_is_compatible("samsung,trats2")) ||
244 of_machine_is_compatible("samsung,exynos3250") ||
245 of_machine_is_compatible("samsung,exynos5250"))

--- 64 unchanged lines hidden ---
239 exynos_cpuidle.dev.platform_data = &cpuidle_coupled_exynos_data;
240#endif
241 if (of_machine_is_compatible("samsung,exynos4210") ||
242 of_machine_is_compatible("samsung,exynos4212") ||
243 (of_machine_is_compatible("samsung,exynos4412") &&
244 of_machine_is_compatible("samsung,trats2")) ||
245 of_machine_is_compatible("samsung,exynos3250") ||
246 of_machine_is_compatible("samsung,exynos5250"))

--- 64 unchanged lines hidden ---