diff options
author | Markus Klotzbuecher <mk@creamnet.de> | 2007-01-09 14:57:13 +0100 |
---|---|---|
committer | Markus Klotzbuecher <mk@pollux.denx.de> | 2007-01-09 14:57:13 +0100 |
commit | 5921e5313fc3eadd42770c2b99badd7fae5ecf1e (patch) | |
tree | aa9d40470e5b0d5f98561ff187f783280b3089d1 /board/spc1920/spc1920.c | |
parent | e4c2d37adc8bb1bf69dcf600cbc6c75f916a6120 (diff) | |
download | u-boot-imx-5921e5313fc3eadd42770c2b99badd7fae5ecf1e.zip u-boot-imx-5921e5313fc3eadd42770c2b99badd7fae5ecf1e.tar.gz u-boot-imx-5921e5313fc3eadd42770c2b99badd7fae5ecf1e.tar.bz2 |
Miscellanious spc1920 related cleanups
Diffstat (limited to 'board/spc1920/spc1920.c')
-rw-r--r-- | board/spc1920/spc1920.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/board/spc1920/spc1920.c b/board/spc1920/spc1920.c index d0a6ff1..d69b915 100644 --- a/board/spc1920/spc1920.c +++ b/board/spc1920/spc1920.c @@ -220,10 +220,20 @@ int board_early_init_f(void) immap->im_ioport.iop_pdpar &= ~(0x0040); immap->im_ioport.iop_pddir |= 0x0040; immap->im_ioport.iop_pddat |= 0x0040; - #endif - /* Enable PD10 (COM2_EN) */ + /* + * Enable console on SMC1. This requires turning on + * the com2_en signal and SMC1_DISABLE + */ + + /* SMC1_DISABLE: PB17 */ + immap->im_cpm.cp_pbodr &= ~0x4000; + immap->im_cpm.cp_pbpar &= ~0x4000; + immap->im_cpm.cp_pbdir |= 0x4000; + immap->im_cpm.cp_pbdat &= ~0x4000; + + /* COM2_EN: PD10 */ immap->im_ioport.iop_pdpar &= ~0x0020; immap->im_ioport.iop_pddir &= ~0x4000; immap->im_ioport.iop_pddir |= 0x0020; |