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
5b8b6525
Commit
5b8b6525
authored
Jul 11, 2003
by
stroese
Browse files
- Fixed interrupt polarity.
parent
2e533c37
Changes
1
Hide whitespace changes
Inline
Side-by-side
board/esd/ash405/ash405.c
View file @
5b8b6525
...
...
@@ -67,7 +67,7 @@ int board_pre_init (void)
mtdcr
(
uicsr
,
0xFFFFFFFF
);
/* clear all ints */
mtdcr
(
uicer
,
0x00000000
);
/* disable all ints */
mtdcr
(
uiccr
,
0x00000000
);
/* set all to be non-critical*/
mtdcr
(
uicpr
,
0xFFFFFF
81
);
/* set int polarities */
mtdcr
(
uicpr
,
0xFFFFFF
9F
);
/* set int polarities */
mtdcr
(
uictr
,
0x10000000
);
/* set int trigger levels */
mtdcr
(
uicvcr
,
0x00000001
);
/* set vect base=0,INT0 highest priority*/
mtdcr
(
uicsr
,
0xFFFFFFFF
);
/* clear all ints */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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