⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setup.c

📁 linux-2.6.15.6
💻 C
字号:
/* * arch/sh/overdrive/setup.c * * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com) * * May be copied or modified under the terms of the GNU General Public * License.  See linux/COPYING for more information. * * STMicroelectronics Overdrive Support. */#include <linux/config.h>#include <linux/kernel.h>#include <linux/init.h>#include <asm/io.h>#include <asm/overdrive/overdrive.h>#include <asm/overdrive/fpga.h>extern void od_time_init(void);const char *get_system_type(void){	return "SH7750 Overdrive";}/* * Initialize the board */int __init platform_setup(void){#ifdef CONFIG_PCI	init_overdrive_fpga();	galileo_init(); #endif	board_time_init = od_time_init;        /* Enable RS232 receive buffers */	writel(0x1e, OVERDRIVE_CTRL);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -