Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
U-Boot
Custodians
fsl-qoriq U-Boot Custodian Tree
Commits
10cd229e
Commit
10cd229e
authored
Apr 26, 2018
by
Tom Rini
Browse files
Merge
git://git.denx.de/u-boot-socfpga
parents
641bce26
4ae87a83
Changes
1
Show whitespace changes
Inline
Side-by-side
drivers/fpga/socfpga_arria10.c
View file @
10cd229e
...
@@ -111,12 +111,12 @@ static int wait_for_nconfig_pin_and_nstatus_pin(void)
...
@@ -111,12 +111,12 @@ static int wait_for_nconfig_pin_and_nstatus_pin(void)
unsigned
long
mask
=
ALT_FPGAMGR_IMGCFG_STAT_F2S_NCONFIG_PIN_SET_MSK
|
unsigned
long
mask
=
ALT_FPGAMGR_IMGCFG_STAT_F2S_NCONFIG_PIN_SET_MSK
|
ALT_FPGAMGR_IMGCFG_STAT_F2S_NSTATUS_PIN_SET_MSK
;
ALT_FPGAMGR_IMGCFG_STAT_F2S_NSTATUS_PIN_SET_MSK
;
/* Poll until f2s_nconfig_pin and f2s_nstatus_pin; loop until de-asserted,
/*
* timeout at 1000ms
* Poll until f2s_nconfig_pin and f2s_nstatus_pin; loop until
* de-asserted, timeout at 1000ms
*/
*/
return
wait_for_bit_le32
(
&
fpga_manager_base
->
imgcfg_stat
,
return
wait_for_bit_le32
(
&
fpga_manager_base
->
imgcfg_stat
,
mask
,
mask
,
true
,
FPGA_TIMEOUT_MSEC
,
false
);
false
,
FPGA_TIMEOUT_MSEC
,
false
);
}
}
static
int
wait_for_f2s_nstatus_pin
(
unsigned
long
value
)
static
int
wait_for_f2s_nstatus_pin
(
unsigned
long
value
)
...
...
Write
Preview
Markdown
is supported
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