dm writecache: fix incorrect flush sequence when doing SSD mode commit
[linux/fpc-iii.git] / arch / arm / mach-at91 / at91sam9.c
blobbf629c90c758e878f026d544dbff1d5f7ce2cd48
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Setup code for AT91SAM9
5 * Copyright (C) 2011 Atmel,
6 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
7 */
9 #include <linux/of.h>
10 #include <linux/of_platform.h>
12 #include <asm/mach/arch.h>
13 #include <asm/system_misc.h>
15 #include "generic.h"
17 static void __init at91sam9_init(void)
19 of_platform_default_populate(NULL, NULL, NULL);
21 at91sam9_pm_init();
24 static const char *const at91_dt_board_compat[] __initconst = {
25 "atmel,at91sam9",
26 NULL
29 DT_MACHINE_START(at91sam_dt, "Atmel AT91SAM9")
30 /* Maintainer: Atmel */
31 .init_machine = at91sam9_init,
32 .dt_compat = at91_dt_board_compat,
33 MACHINE_END
35 static void __init sam9x60_init(void)
37 of_platform_default_populate(NULL, NULL, NULL);
39 sam9x60_pm_init();
42 static const char *const sam9x60_dt_board_compat[] __initconst = {
43 "microchip,sam9x60",
44 NULL
47 DT_MACHINE_START(sam9x60_dt, "Microchip SAM9X60")
48 /* Maintainer: Microchip */
49 .init_machine = sam9x60_init,
50 .dt_compat = sam9x60_dt_board_compat,
51 MACHINE_END