<div>Hi All,</div>
<div>&nbsp;</div>
<div>In order to debug the 8548 CDS BSP of kernel 2.6, I want setup serial port with UART on mpc85xx as early as possible. . I add the register access code&nbsp;at the beginning of &nbsp;platform_init(). However the system just hanging there with this line. If I comment out this line&quot;WRITE8_ADDR(M85xx_EIIADDR,0)&quot;, then linux kernel runs well. 
</div>
<div>&nbsp;</div>
<div>Thanks in advance,</div>
<div>&nbsp;</div>
<div>Mike Z</div>
<div>&nbsp;</div>
<div>Here is the code of my mpc85xx_cds_common.c:</div>
<div>&nbsp;</div>
<div>#define WRITE8_ADDR(address, value) \</div>
<div>&nbsp;&nbsp;&nbsp; ((*((volatile u8 *)(address))) = (u8)(value))</div>
<div>&nbsp;</div>
<div>#define M85xx_EII_ADDR 0xe0004500</div>
<div>&nbsp;</div>
<div>void __init</div>
<div>platform_init(unsigned long r3, unsigned long r4, unsigned long r5, </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned long r6, unsigned long r7)</div>
<div>{</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* parse_bootinfo must always be called first */</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parse_bootinfo(find_bootinfo());</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* Now we try to access register of UART */</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WRITE8_ADDR(M85xx_EII_ADDR, 0);</div>
<div>....</div>
<div>}&nbsp;</div>