]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - arch/sh/boards/overdrive/setup.c
Remove obsolete #include <linux/config.h>
[mirror_ubuntu-jammy-kernel.git] / arch / sh / boards / overdrive / setup.c
1 /*
2 * arch/sh/overdrive/setup.c
3 *
4 * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com)
5 *
6 * May be copied or modified under the terms of the GNU General Public
7 * License. See linux/COPYING for more information.
8 *
9 * STMicroelectronics Overdrive Support.
10 */
11
12 #include <linux/kernel.h>
13 #include <linux/init.h>
14 #include <asm/io.h>
15
16 #include <asm/overdrive/overdrive.h>
17 #include <asm/overdrive/fpga.h>
18
19 const char *get_system_type(void)
20 {
21 return "SH7750 Overdrive";
22 }
23
24 /*
25 * Initialize the board
26 */
27 int __init platform_setup(void)
28 {
29 #ifdef CONFIG_PCI
30 init_overdrive_fpga();
31 galileo_init();
32 #endif
33
34 /* Enable RS232 receive buffers */
35 writel(0x1e, OVERDRIVE_CTRL);
36 }