diff options
author | Igor Guryanov <guryanov@synopsys.com> | 2014-12-24 16:31:26 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2015-01-15 22:38:42 +0300 |
commit | c0e9535e1d582ec089c743b705752392fcf3d9a2 (patch) | |
tree | f9f4fb4500bf09c68456d9debc932dfb35d9af8a /common/cmd_sf.c | |
parent | e47d733867b2da336754718f7eaa7f51655dbefa (diff) | |
download | u-boot-imx-c0e9535e1d582ec089c743b705752392fcf3d9a2.zip u-boot-imx-c0e9535e1d582ec089c743b705752392fcf3d9a2.tar.gz u-boot-imx-c0e9535e1d582ec089c743b705752392fcf3d9a2.tar.bz2 |
arc: interrupts - fix mask setup
To disable interrupts we need to reset corresponding flags in STATUS32
register. For this we need to OR flags for interrupts level1 and level2
and then AND with current value in STATUS32.
Before that implementation was incorrect.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Igor Guryanov <guryanov@synopsys.com>
Diffstat (limited to 'common/cmd_sf.c')
0 files changed, 0 insertions, 0 deletions