unsigned short
IPCMtoCBootControlSystem(unsigned long ulBootMode)
{ //读取CTOMIPCBOOTSTS寄存器,该寄存器C28X的地址在0x4E20,M3的地址在0x400FB740
//读到的数是0x00010002,Figure 6-15. C-Boot ROM Health Status;
// Table 6-19. C-Boot ROM Boot Status Values
//说明28X的boot已经开始,还在进程中
while ((HWREG(MTOCIPC_BASE +
IPC_O_CTOMIPCBOOTSTS) &
CBROM_BOOTSTS_CTOM_CONTROL_SYSTEM_READY)!=
CBROM_BOOTSTS_CTOM_CONTROL_SYSTEM_READY)
{
}