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

📄 boardid.h

📁 NXP trimedira PNX1700的btscriptgen
💻 H
字号:
// FILE NAME:    BoardId.h
//
// DESCRIPTION:  This is the master list of board identifiers used by the
//               Boot Script for board detection and initialization.  Board IDs
//               (BID_<MFG_ID>_<SUBSYS>_XXX) are 32 bits that consist of a 
//               manufacturer's ID (typically the PCI vendor ID) in the low 
//               16 bits or'd with the board subsystem ID in the high 16 bits.  
//               The 32 bit board ID bitfields are defined below:
//
//                    +-------------------------- 16 bit Subsystem ID/Version
//                   /                         +- 16 bit Manufacturer ID
//                  /                         /
//  |31            /         16|15           /          0| bit
//  +--------------------------+-------------------------+
//  |   Subsystem ID/Version   | Manufacturer Identifier |
//  +--------------------------+-------------------------+
//
//-----------------------------------------------------------------------------
//
#ifndef BOARDID_H //------------------
#define BOARDID_H

//-----------------------------------------------------------------------------
// Types and defines:
//-----------------------------------------------------------------------------
//
#define BID_MFG_ID_MASK                 0x0000FFFFU // Board manufacturer mask
#define BID_MFG_ID_BITSHIFT             0           // Board mfg bit shift cnt

#define BID_SUBSYS_MASK                 0xFFFF0000U // Board subsystem ID mask
#define BID_SUBSYS_BITSHIFT             16          // Board subsysID shift cnt

//-----------------------------------------------------------------------------
// DVP Board manufacturer's ID (16 bits, PCI Vendor ID)
//
#define BOARD_ID_PHILIPS_MFG_ID         0x1131

// This is the MDS vendor sub-ID:
#define BOARD_ID_MDS_MFG_ID             0x1136

//-----------------------------------------------------------------------------
// TriMedia Board IDs (16 bits)
//

// This is the MDS subsys ID for the LCP-1x00

#define BOARD_MDS_LCP1500_SUBSYS_ID             0x0005
#define BOARD_MDS_LCP1700_SUBSYS_ID             0x0017

#define BOARD_PHILIPS_PNX1500_NREF_SUBSYS_ID    0x0009
#define BOARD_PHILIPS_PNX1700_NREF_SUBSYS_ID    0x0019

#define BOARD_MDS_DMA1500_SUBSYS_ID             0x000E
#define BOARD_MDS_DMA1700_SUBSYS_ID             0x001E

#define BOARD_MDS_DMATHIN1500_SUBSYS_ID         0x000F
#define BOARD_MDS_DMATHIN1700_SUBSYS_ID         0x001F
// Note that BOARD_MDS_LCP1700_SUBSYS_ID was set to 0x0005 in the eeprom on the first 20 or 
// so boards shipped from MDS to Philips.  The value of 0x0005 is actually for the LCP-1500 
// board.  So, if you get a message that no board with the right ID was found, you may need 
// to reprogram the eeprom, or change the ID here.  If the IDs in the boot eeprom and here 
// in the BSL don't match, dvpMon and other tools won't be able to run programs on the board.


#define BID_MDS_LCP1500                                         \
    ((BOARD_ID_MDS_MFG_ID   << BID_MFG_ID_BITSHIFT) |           \
    ((BOARD_MDS_LCP1500_SUBSYS_ID) << BID_SUBSYS_BITSHIFT))

#define BID_MDS_LCP1700                                         \
    ((BOARD_ID_MDS_MFG_ID   << BID_MFG_ID_BITSHIFT) |           \
    ((BOARD_MDS_LCP1700_SUBSYS_ID) << BID_SUBSYS_BITSHIFT))

#define BID_PHILIPS_NREF1500                                         \
    ((BOARD_ID_PHILIPS_MFG_ID   << BID_MFG_ID_BITSHIFT) |           \
    ((BOARD_PHILIPS_PNX1500_NREF_SUBSYS_ID) << BID_SUBSYS_BITSHIFT))

#define BID_PHILIPS_NREF1700                                         \
    ((BOARD_ID_PHILIPS_MFG_ID   << BID_MFG_ID_BITSHIFT) |           \
    ((BOARD_PHILIPS_PNX1700_NREF_SUBSYS_ID) << BID_SUBSYS_BITSHIFT))

#define BID_MDS_DMA1500                                         \
    ((BOARD_ID_MDS_MFG_ID   << BID_MFG_ID_BITSHIFT) |           \
    ((BOARD_MDS_DMA1500_SUBSYS_ID) << BID_SUBSYS_BITSHIFT))

#define BID_MDS_DMA1700                                         \
    ((BOARD_ID_MDS_MFG_ID   << BID_MFG_ID_BITSHIFT) |           \
    ((BOARD_MDS_DMA1700_SUBSYS_ID) << BID_SUBSYS_BITSHIFT))

#define BID_MDS_DMATHIN1500                                         \
    ((BOARD_ID_MDS_MFG_ID   << BID_MFG_ID_BITSHIFT) |           \
    ((BOARD_MDS_DMATHIN1500_SUBSYS_ID) << BID_SUBSYS_BITSHIFT))

#define BID_MDS_DMATHIN1700                                         \
    ((BOARD_ID_MDS_MFG_ID   << BID_MFG_ID_BITSHIFT) |           \
    ((BOARD_MDS_DMATHIN1700_SUBSYS_ID) << BID_SUBSYS_BITSHIFT))

#endif // BOARDID_H //----------------

⌨️ 快捷键说明

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