MPC-8548 PCI Config space

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC-8548 PCI Config space

跳至解决方案
5,219 次查看
Art999
Contributor I
How can I change the "Device ID, Vendor ID" and/or "Subsystem Vendor ID, Subsystem ID" of the MPC-8548 PCI config space ?
Thanks
0 项奖励
回复
1 解答
3,320 次查看
ed_swarthout
NXP Employee
NXP Employee
The Device ID and Vendor ID can not be changed.

Typically the bootrom would write the Subsystem ID and Subsystem Vendor ID by doing a config write to the controller cfg space.

For PCI, just write the desired value to offset 0x2c.
For PCI Express, write offset 0x478 and then set the ready bit in 0x4b0.

Search for "subsystem" in:

http://www.freescale.com/files/32bit/doc/ref_manual/MPC8548ERM.pdf

-EdS

在原帖中查看解决方案

0 项奖励
回复
1 回复
3,321 次查看
ed_swarthout
NXP Employee
NXP Employee
The Device ID and Vendor ID can not be changed.

Typically the bootrom would write the Subsystem ID and Subsystem Vendor ID by doing a config write to the controller cfg space.

For PCI, just write the desired value to offset 0x2c.
For PCI Express, write offset 0x478 and then set the ready bit in 0x4b0.

Search for "subsystem" in:

http://www.freescale.com/files/32bit/doc/ref_manual/MPC8548ERM.pdf

-EdS
0 项奖励
回复