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

📄 option.h

📁 Samsugn 6400 NAND boot code
💻 H
字号:
/**************************************************************************************
* 
*	Project Name : S3C6400 Validation
*
*	Copyright 2006 by Samsung Electronics, Inc.
*	All rights reserved.
*
*	Project Description :
*		This software is only for validating functions of the S3C6400.
*		Anybody can use this software without our permission.
*  
*--------------------------------------------------------------------------------------
* 
*	File Name : option.h
*  
*	File Description : This file defines basic setting and configuration.
*
*	Author : Haksoo,Kim
*	Dept. : AP Development Team
*	Created Date : 2006/11/08
*	Version : 0.1 
* 
*	History
*	- Created(Haksoo,Kim 2006/11/08)
*  
**************************************************************************************/

#ifndef __OPTION_H__
#define __OPTION_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "def.h"

#define	SEMIHOSTING					FALSE

#define	FIN							12000000

#define	DMC0						(FALSE)
#define	DMC1						(!(DMC0))
#if	(DMC0)
#define	_DRAM_BaseAddress			0x40000000
#elif (DMC1)
#define	_DRAM_BaseAddress			0x50000000
#endif

//#define	_Exception_Vector			(_DRAM_BaseAddress+0x03ffff00)
//#define	_MMUTT_BaseAddress			(_DRAM_BaseAddress+0x03ff8000)
//#define	DefaultDownloadAddress		(_DRAM_BaseAddress+0x00200000)
#define 	_NONCACHE_STARTADDRESS	(_DRAM_BaseAddress+	0x01000000)
#define 	_MMUTT_STARTADDRESS		(_DRAM_BaseAddress+	0x03ff8000)
#define 	_Exception_Vector		(_DRAM_BaseAddress+	0x03ffff00)

#define		NORMAL_8BIT		(0x00)
#define 	ADVANCED_8BIT	(0x01)
#define 	MLC_8BIT		(0x02)

#define 	NAND_TYPE		ADVANCED_8BIT

#ifdef __cplusplus
}
#endif

#endif /*__OPTION_H__*/

⌨️ 快捷键说明

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