]> git.samba.org - sfrench/cifs-2.6.git/blob - arch/arm/mach-w90x900/mach-nuc960evb.c
Merge tag 'meminit-v5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
[sfrench/cifs-2.6.git] / arch / arm / mach-w90x900 / mach-nuc960evb.c
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * linux/arch/arm/mach-w90x900/mach-nuc960evb.c
4  *
5  * Based on mach-s3c2410/mach-smdk2410.c by Jonas Dietsche
6  *
7  * Copyright (C) 2008 Nuvoton technology corporation.
8  *
9  * Wan ZongShun <mcuos.com@gmail.com>
10  */
11
12 #include <linux/platform_device.h>
13 #include <asm/mach/arch.h>
14 #include <asm/mach/map.h>
15 #include <asm/mach-types.h>
16 #include <mach/map.h>
17
18 #include "nuc960.h"
19
20 static void __init nuc960evb_map_io(void)
21 {
22         nuc960_map_io();
23         nuc960_init_clocks();
24 }
25
26 static void __init nuc960evb_init(void)
27 {
28         nuc960_board_init();
29 }
30
31 MACHINE_START(W90N960EVB, "W90N960EVB")
32         /* Maintainer: Wan ZongShun */
33         .map_io         = nuc960evb_map_io,
34         .init_irq       = nuc900_init_irq,
35         .init_machine   = nuc960evb_init,
36         .init_time      = nuc900_timer_init,
37         .restart        = nuc9xx_restart,
38 MACHINE_END