setup.c (498495dba268b20e8eadd7fe93c140c68b6cc9d2) setup.c (09e81263e5013ce5add177d50c0b1da0725ce266)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/arch/sh/boards/sh03/setup.c
4 *
5 * Copyright (C) 2004 Interface Co.,Ltd. Saito.K
6 *
7 */
8

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

17#include <mach-sh03/mach/sh03.h>
18#include <asm/addrspace.h>
19
20static void __init init_sh03_IRQ(void)
21{
22 plat_irq_setup_pins(IRQ_MODE_IRQ);
23}
24
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/arch/sh/boards/sh03/setup.c
4 *
5 * Copyright (C) 2004 Interface Co.,Ltd. Saito.K
6 *
7 */
8

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

17#include <mach-sh03/mach/sh03.h>
18#include <asm/addrspace.h>
19
20static void __init init_sh03_IRQ(void)
21{
22 plat_irq_setup_pins(IRQ_MODE_IRQ);
23}
24
25/* arch/sh/boards/sh03/rtc.c */
26void sh03_time_init(void);
27
28static void __init sh03_setup(char **cmdline_p)
29{
30 board_time_init = sh03_time_init;
31}
32
33static struct resource cf_ide_resources[] = {
34 [0] = {
35 .start = 0x1f0,
36 .end = 0x1f0 + 8,
37 .flags = IORESOURCE_IO,
38 },
39 [1] = {
40 .start = 0x1f0 + 0x206,

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

96 cf_ide_resources[1].end += (unsigned long)cf_ide_base;
97
98 return platform_add_devices(sh03_devices, ARRAY_SIZE(sh03_devices));
99}
100device_initcall(sh03_devices_setup);
101
102static struct sh_machine_vector mv_sh03 __initmv = {
103 .mv_name = "Interface (CTP/PCI-SH03)",
25static struct resource cf_ide_resources[] = {
26 [0] = {
27 .start = 0x1f0,
28 .end = 0x1f0 + 8,
29 .flags = IORESOURCE_IO,
30 },
31 [1] = {
32 .start = 0x1f0 + 0x206,

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

88 cf_ide_resources[1].end += (unsigned long)cf_ide_base;
89
90 return platform_add_devices(sh03_devices, ARRAY_SIZE(sh03_devices));
91}
92device_initcall(sh03_devices_setup);
93
94static struct sh_machine_vector mv_sh03 __initmv = {
95 .mv_name = "Interface (CTP/PCI-SH03)",
104 .mv_setup = sh03_setup,
105 .mv_init_irq = init_sh03_IRQ,
106};
96 .mv_init_irq = init_sh03_IRQ,
97};