mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
SPC1920: fix small clock routing bug
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
This commit is contained in:
parent
aea17f9927
commit
d5f4614c93
@ -236,8 +236,7 @@ static int smc_init (void)
|
|||||||
im->im_ioport.iop_pdpar |= 0x800;
|
im->im_ioport.iop_pdpar |= 0x800;
|
||||||
im->im_ioport.iop_pddir &= ~0x800;
|
im->im_ioport.iop_pddir &= ~0x800;
|
||||||
|
|
||||||
cp->cp_simode = 0x0000;
|
cp->cp_simode = ((cp->cp_simode & ~0xf000) | 0x7000);
|
||||||
cp->cp_simode |= 0x7000;
|
|
||||||
#else
|
#else
|
||||||
/* Set up the baud rate generator */
|
/* Set up the baud rate generator */
|
||||||
smc_setbrg ();
|
smc_setbrg ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user