Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
e4c2d37a
Commit
e4c2d37a
authored
Jan 09, 2007
by
Markus Klotzbuecher
Committed by
Markus Klotzbuecher
Jan 09, 2007
Browse files
SPC1920 GO/NOGO led should be set to color red in U-Boot
parent
0be62728
Changes
1
Hide whitespace changes
Inline
Side-by-side
board/spc1920/spc1920.c
View file @
e4c2d37a
...
...
@@ -209,12 +209,20 @@ int board_early_init_f(void)
{
volatile
immap_t
*
immap
=
(
immap_t
*
)
CFG_IMMR
;
/* Set Go/NoGo led (PA15) to color red */
immap
->
im_ioport
.
iop_papar
&=
~
0x1
;
immap
->
im_ioport
.
iop_paodr
&=
~
0x1
;
immap
->
im_ioport
.
iop_padir
|=
0x1
;
immap
->
im_ioport
.
iop_padat
|=
0x1
;
#if 0
/* Turn on LED PD9 */
immap->im_ioport.iop_pdpar &= ~(0x0040);
immap->im_ioport.iop_pddir |= 0x0040;
immap->im_ioport.iop_pddat |= 0x0040;
#endif
/* Enable PD10 (COM2_EN) */
immap
->
im_ioport
.
iop_pdpar
&=
~
0x0020
;
immap
->
im_ioport
.
iop_pddir
&=
~
0x4000
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment