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

📄 mport1s.h

📁 SMDK2440 boot code, base on vivi
💻 H
字号:
/* *  vivi/include/arch-s3c2410/mport1s.h: *    Specific definitions for MPORT1S * * Copyright (c) 2001-2004 MIZI Research, Inc. All rights reserved. * * 2004-05-10  Janghoon Lyu *             - create this file. * * $Id: mport1s.h,v 1.1 2004/05/10 05:25:42 nandy Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */  #ifndef _MPORT1S_H_#define _MPORT1S_H_#include <config.h>#include <arch/s3c2410.h>/* * Architecture magic and machine type * NOTE: Below 'MACH_TYPE' does not _real_ mach type.  *       If you want to change mach type, you should be  *       modify the variable of 'default_vivi_parameters'  *       in the 'vivi/arch/s3c2410/smdktk.c' */#define MACH_TYPE		265#define VIVI_MAGIC		(0x43090000 | MACH_TYPE)/* * Miscellaneous */#define FIN			12000000#define UART_REF_CLK		(50700000)/* * Default values for processor's control register */#define vLOCKTIME		0x00ffffff	/* Hardware reset value */#define vCLKCON			0x0000fff8	/* Hardware reset value */	/*  * 200.00 MHz, 100.00 MHz, 50.0 MHz.  */#define vCLKDIVN		0x3		/* FCLK:HCLK:PCLK = 1:2:4 */#define MDIV			0xa1#define PDIV			0x3#define SDIV			0x1#define vMPLLCON		((MDIV << 12) | (PDIV << 4) | (SDIV))/* Initial values for memory */#define vBWSCON			0x12111100#define vBANKCON0		0x00000700	/* NAND flash */#define vBANKCON1		0x00003ef0	/* K6F1008V2C SRAM - 8bit */#define vBANKCON2		0x00000700#define vBANKCON3		0x00000700#define vBANKCON4		0x00000700#define vBANKCON5		0x00000700#define vBANKCON6		0x00018005#define vBANKCON7		0x00003ef0	/* MSM9842 voice IC - 16 bit */#define vREFRESH		0x008e0459#define vBANKSIZE		0xb2#define vMRSRB6			0x30#define vMRSRB7			0x30/* initial values for serial */#define vULCON			0x3	/* UART, no parity, one stop bit, 8 bits */#define vUCON			0x245#define vUFCON			0x0#define vUMCON			0x0/* inital values for GPIOs */#define vGPACON			0x005e1fff#define vGPADAT			0x00006000#define vGPBCON			0x00145455#define vGPBDAT			0x00000001#define vGPBUP			0x000007ff#define vGPCCON			0xaaa056a9#define vGPCDAT			0x00000020#define vGPCUP			0x000003e1#define vGPDCON			0xaaaaaaaa#define vGPDDAT			0x00000000#define vGPDUP			0x0000ffff#define vGPECON			0x41954404#define vGPEDAT			0x00000020#define vGPEUP			0x0000ffff#define vGPFCON			0x00000010 /* USB-SELECTOR : GPF2 : output */#define vGPFDAT			0x00000000#define vGPFUP			0x000000ff#define vGPGCON			0x54000000#define vGPGDAT			0x00000000#define vGPGUP			0x0000ffff#define vGPHCON			0x0015aaa5#define vGPHDAT			0x00000001#define vGPHUP			0x000007ff#endif /* _MPORT1S_H_ */

⌨️ 快捷键说明

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