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

📄 bsp_base_reg_cfg.h

📁 freescale i.mx31 BSP CE5.0全部源码
💻 H
字号:
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//------------------------------------------------------------------------------
//
//  Copyright (C) 2004, Freescale Semiconductor, Inc. All Rights Reserved
//  THIS SOURCE CODE IS CONFIDENTIAL AND PROPRIETARY AND MAY NOT
//  BE USED OR DISTRIBUTED WITHOUT THE WRITTEN PERMISSION OF
//  FREESCALE SEMICONDUCTOR, INC.
//
//------------------------------------------------------------------------------

//------------------------------------------------------------------------------
//
//  File:  bsp_base_reg_cfg.h
//
//  This header file defines location for BSP on-board devices. It usually
//  should contain only physical addresses. Virtual addresses should be obtain
//  via OALPAtoVA function call. Base addresses for SoC are defined in similar
//  file s3c2410x_base_reg_cfg.h.
//
//------------------------------------------------------------------------------
#ifndef __BSP_BASE_REG_CFG_H
#define __BSP_BASE_REG_CFG_H

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
//
//  NAMING CONVENTIONS
//
//  BSP_BASE_REG_ is the standard prefix for BSP device base registers.
//
//  Memory ranges are accessed using physical, uncached, or cached addresses,
//  depending on the system state. The following abbreviations are used for
//  each addressing type:
//
//      PA - physical address
//      CA - cached virtual address
//      UA - uncached virtual address
//
//  The naming convention for base registers is:
//
//      xxx_BASE_REG_<ADDRTYPE>_<SUBSYSTEM>
//
//------------------------------------------------------------------------------

//------------------------------------------------------------------------------
//
//  Define:  BSP_BASE_REG_PA_PBC_BASE
//
//  Locates the PBC CPLD (PBC) module. WEIM CS4 is used
//  to connect this device. Note that there must exist memory mapping in
//  oemaddrtab_cfg.h for this memory area.
//
#define BSP_BASE_REG_PA_PBC_BASE              CSP_BASE_MEM_PA_CS4

//------------------------------------------------------------------------------
//
//  Define:  BSP_BASE_REG_PA_CS8900A
//
//  Locates CS8900A Ethernet chip. PBC is used
//  to connect this device. Note that there must exist memory mapping in
//  oemaddrtab_cfg.h for this memory area.
//

//zhongtao@
//#define BSP_BASE_REG_PA_CS8900A_IOBASE            (BSP_BASE_REG_PA_PBC_BASE + PBC_CS8900_IOBASE_OFFSET + 0x300)
//#define BSP_BASE_REG_PA_CS8900A_MEMBASE         (BSP_BASE_REG_PA_PBC_BASE + PBC_CS8900_MEMBASE_OFFSET)
#define BSP_BASE_REG_PA_CS8900A_IOBASE           (CSP_BASE_MEM_PA_CS5 + 0x300)
#define BSP_BASE_REG_PA_CS8900A_MEMBASE        (CSP_BASE_MEM_PA_CS5)
//zhongtao#

//------------------------------------------------------------------------------
//
//  Define:  BSP_BASE_REG_PA_SERIALKITL
//
//  Specifies physical address of serial port used for serial KITL transport.
//  We are initially using the on-chip UART2 for the serial KITL
//  connection.  Note that there must exist memory mapping in
//  oemaddrtab_cfg.h for this memory area.
//
#define BSP_BASE_REG_PA_SERIALKITL              CSP_BASE_REG_PA_UART2

//------------------------------------------------------------------------------
//
//  Define:  BSP_BASE_REG_PA_FRAMEBUFFER
//
//  Specifies physical address of display frame buffer.  We use
//  a reserved block of external SDRAM for the frame buffer. Note that there
//  must exist memory mapping in oemaddrtab_cfg.h for this memory area.
//
#define BSP_BASE_REG_PA_FRAMEBUFFER             (0x80100000)

//------------------------------------------------------------------------------

#if __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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